mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Correctly include <stdlib.h> in javascript main.
Already fixed in 3.2, this header is needed since it's where setenv is declared and we should not assume it to be already included.
This commit is contained in:
parent
757af6a69f
commit
3e96ba220e
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "platform/javascript/os_javascript.h"
|
||||
|
||||
#include <emscripten/emscripten.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static OS_JavaScript *os = nullptr;
|
||||
static uint64_t target_ticks = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue