1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +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:
Fabio Alessandrelli
2020-07-27 13:49:16 +02:00
parent 757af6a69f
commit 3e96ba220e

View File

@@ -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;