You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user