Browse Source

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

Andre Weissflog 6 năm trước cách đây
mục cha
commit
29ce2f7eed
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;