Skip to content

Commit

Permalink
fix(shell): add missing include (#813)
Browse files Browse the repository at this point in the history
This header inclusion was missing, resulting in build errors with recent versions of GCC:

```
In file included from /home/jonathan/Code/lean3/src/shell/lean_js_main.cpp:9:
/home/jonathan/Code/lean3/src/shell/lean_js.h:11:32: error: ‘uintptr_t’ was not declared in this scope
   11 | int emscripten_process_request(uintptr_t msg);
```
  • Loading branch information
msprotz committed Sep 27, 2023
1 parent cce7990 commit 21d264a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shell/lean_js.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <cstdint>
#include <string>
void initialize_emscripten();
void finalize_emscripten();
Expand Down

0 comments on commit 21d264a

Please sign in to comment.