mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
[runtime] Fix SleepEx() compilation under the Android NDK.
SleepEx() requires clock_nanosleep(), which Android provides, but declares in <time.h>, not <sys/time.h> Add #include<time.h> so that SleepEx() compiles.
This commit is contained in:
1 parent
bca9714576
commit
0947ffd89c
1 file changed
+1
@@ -17,6 +17,7 @@
|
||||
#include <signal.h>
|
||||
#include <sched.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in new issue
Block a user