mirror of
https://github.com/frida/tinycc
synced 2025-02-12 13:24:02 +03:00
Include some headers in new multi-thread test
for usleep and gettimeofday.
This commit is contained in:
parent
11fc58fa13
commit
ce4eafb34f
@ -32,6 +32,8 @@ void sleep_ms(unsigned n)
|
||||
Sleep(n);
|
||||
}
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#define TF_TYPE(func, param) void* func(void *param)
|
||||
typedef TF_TYPE(ThreadFunc, x);
|
||||
|
Loading…
x
Reference in New Issue
Block a user