Browse Source

add emscripten.h include to sokol_time.h, fixes #127

Andre Weissflog 6 years ago
parent
commit
29ce2f7eed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sokol_time.h

+ 1 - 0
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;