[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:
Jonathan Pryor committed 2014-04-07 23:12:33 -04:00
1 parent bca9714576
commit 0947ffd89c
1 file changed
+1
+1
View File
@@ -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>