summaryrefslogtreecommitdiffstats
path: root/main/fix-emscripten.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fix-emscripten.patch')
-rw-r--r--main/fix-emscripten.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/fix-emscripten.patch b/main/fix-emscripten.patch
new file mode 100644
index 0000000..4534c21
--- /dev/null
+++ b/main/fix-emscripten.patch
@@ -0,0 +1,12 @@
+diff --git a/movement/shell.c b/movement/shell.c
+index 8f146e5..6168f89 100644
+--- a/movement/shell.c
++++ b/movement/shell.c
+@@ -33,6 +33,7 @@
+
+ #if __EMSCRIPTEN__
+ #include <emscripten.h>
++#include <stdlib.h>
+ #endif
+
+ #include "watch.h"