FIx Cirrus Linux build not compiling

This commit is contained in:
hoholee12 2023-07-24 23:26:47 +09:00
parent cf785e2ad6
commit 3d1f527652
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ DYNAMIC_IMPORT_RENAME("Kernel32.dll", SetThreadDescriptionImport, "SetThreadDesc
#ifdef __linux__
#include <sys/timerfd.h>
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
#endif
#if defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)