diff options
| author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2015-09-04 10:15:16 -0500 |
|---|---|---|
| committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2015-09-04 10:34:45 -0500 |
| commit | 8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (patch) | |
| tree | 93d0529dc85e75a5ce0f34e9d76e40e727ef9da4 /Source/Core/Common/Thread.cpp | |
| parent | 7ada372ed9305a48e9fe912da1f5ac928631baa9 (diff) | |
Fix building with PCH disabled.
Diffstat (limited to 'Source/Core/Common/Thread.cpp')
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 4 |
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__ |
