Skip to content

Commit

Permalink
FIx Cirrus Linux build not compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
hoholee12 committed Jul 24, 2023
1 parent cf785e2 commit 3d1f527
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Utilities/Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 3d1f527

Please sign in to comment.