Selaa lähdekoodia

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

Andre Weissflog 6 vuotta sitten
vanhempi
commit
29ce2f7eed
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;