Skip to content

Commit 28fa56d

Browse files
committed
Portability for data race runtime reporting
1 parent 2439954 commit 28fa56d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@
4545
#endif
4646

4747
#if defined(__ELF__)
48-
#include <unwind.h>
48+
#include <sys/syscall.h>
49+
#endif
50+
51+
#include <pthread.h>
52+
53+
#if defined(_WIN32)
54+
#include <io.h>
4955
#endif
5056

5157
using namespace swift;

0 commit comments

Comments
 (0)