Add missing headers (#15075)
Some systems must explicitly include these headers.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "util/simd.hpp"
|
||||
|
||||
#ifdef __linux__
|
||||
#include <unistd.h>
|
||||
#define CAN_OVERCOMMIT
|
||||
#endif
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ DYNAMIC_IMPORT_RENAME("Kernel32.dll", SetThreadDescriptionImport, "SetThreadDesc
|
||||
#include <time.h>
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/timerfd.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user