aboutsummaryrefslogtreecommitdiff
path: root/sokol_time.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-03-06 01:05:17 +0100
committerAndre Weissflog <floooh@gmail.com>2019-03-06 01:05:17 +0100
commit29ce2f7eedc74f260da2aaa326fbd8b9ce3c20d5 (patch)
treec70ba1a5bf0f5cfa6eb0ae9b053168c306940b7c /sokol_time.h
parent3a2479c13bb5935e4351749037b1b5c6c8af7074 (diff)
add emscripten.h include to sokol_time.h, fixes #127
Diffstat (limited to 'sokol_time.h')
-rw-r--r--sokol_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_time.h b/sokol_time.h
index 76dba68c..45c1c2f9 100644
--- a/sokol_time.h
+++ b/sokol_time.h
@@ -140,6 +140,7 @@ typedef struct {
uint64_t start;
} _stm_state_t;
#elif defined(__EMSCRIPTEN__)
+#include <emscripten/emscripten.h>
typedef struct {
uint32_t initialized;
double start;