diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-09-06 19:59:49 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-09-06 19:59:49 +1200 |
| commit | a26cac87fcea6a0859d6b95653d67710cb0f800e (patch) | |
| tree | 5c4dbbf0d4be612ab9d0642261dcc34d2ac7b37c /Source/Core/Common/Thread.cpp | |
| parent | 61da83182ee21d8675739b7317ee1ae73e33692d (diff) | |
| parent | 8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (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.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__ |
