fix syscall not declared error on ubuntu
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@
|
||||
#include <Windows.h>
|
||||
#else
|
||||
// For getting thread ID.
|
||||
#include <sys/syscall.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h> // For SYS_xxx definitions
|
||||
#include <sys/types.h>
|
||||
#endif // defined(_WIN32) || defined(_WIN64)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user