From e7099ed2ea90fb0058f0c22a30945a0eec553687 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 15 Jul 2020 22:11:08 +0200 Subject: [PATCH] Fix setenv not defined in older emscripten verions. --- platform/javascript/javascript_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/javascript/javascript_main.cpp b/platform/javascript/javascript_main.cpp index 87699271a02..9a01c73d67a 100644 --- a/platform/javascript/javascript_main.cpp +++ b/platform/javascript/javascript_main.cpp @@ -33,6 +33,7 @@ #include "platform/javascript/os_javascript.h" #include +#include static OS_JavaScript *os = NULL; static uint64_t target_ticks = 0;