fix syscall not declared error on ubuntu

master
Chunting gu 4 years ago
parent a0c31be90e
commit f6e25ab19a

@ -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)

Loading…
Cancel
Save