Skip to content

Commit df29aaf

Browse files
authored
Update main.cpp
1 parent eed7a5d commit df29aaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jni/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <jni.h>
22
#include <android/log.h>
33
#include <ucontext.h>
4+
#include <pthread.h>
45

56
#include "main.h"
67
#include "game/game.h"
@@ -237,4 +238,4 @@ uint32_t GetTickCount()
237238
struct timeval tv;
238239
gettimeofday(&tv, nullptr);
239240
return (tv.tv_sec*1000+tv.tv_usec/1000);
240-
}
241+
}

0 commit comments

Comments
 (0)