summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Thread.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-09-06 19:59:49 +1200
committerScott Mansell <phiren@gmail.com>2015-09-06 19:59:49 +1200
commita26cac87fcea6a0859d6b95653d67710cb0f800e (patch)
tree5c4dbbf0d4be612ab9d0642261dcc34d2ac7b37c /Source/Core/Common/Thread.cpp
parent61da83182ee21d8675739b7317ee1ae73e33692d (diff)
parent8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (diff)
Merge pull request #2959 from rohit-n/build-pch
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__