summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Unix/Threading.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Unix/Threading.inc b/llvm/lib/Support/Unix/Threading.inc
index d697f5b62bc..232b1db6cdc 100644
--- a/llvm/lib/Support/Unix/Threading.inc
+++ b/llvm/lib/Support/Unix/Threading.inc
@@ -30,6 +30,7 @@
#endif
#if defined(__linux__)
+#include <unistd.h>
#include <sys/syscall.h>
#endif
OpenPOWER on IntegriCloud