summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Thread.cpp
diff options
context:
space:
mode:
authorRohit Nirmal <rohitnirmal9@gmail.com>2015-09-04 10:15:16 -0500
committerRohit Nirmal <rohitnirmal9@gmail.com>2015-09-04 10:34:45 -0500
commit8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (patch)
tree93d0529dc85e75a5ce0f34e9d76e40e727ef9da4 /Source/Core/Common/Thread.cpp
parent7ada372ed9305a48e9fe912da1f5ac928631baa9 (diff)
Fix building with PCH disabled.
Diffstat (limited to 'Source/Core/Common/Thread.cpp')
-rw-r--r--Source/Core/Common/Thread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp
index 1e60fbb29f..11cb48bb49 100644
--- a/Source/Core/Common/Thread.cpp
+++ b/Source/Core/Common/Thread.cpp
@@ -6,6 +6,10 @@
#include "Common/CommonTypes.h"
#include "Common/Thread.h"
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+
#ifdef __APPLE__
#include <mach/mach.h>
#elif defined BSD4_4 || defined __FreeBSD__