summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2012-04-07 14:45:12 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2012-04-07 15:45:32 -0500
commit722480cb2e864ea7dd03427e509470ec09ce6f40 (patch)
tree0a28f08d35e246fc4eead4735b7d0004317cc4e9 /Source/Core/Common
parent5d9ac22d586cc0cd1b146e87b19e19f0fe09e2cf (diff)
Fix compilation with g++ 4.7 and some warnings. Fixes issue 5347.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/CommonFuncs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/CommonFuncs.h b/Source/Core/Common/Src/CommonFuncs.h
index 74d317d95f..585fe0999a 100644
--- a/Source/Core/Common/Src/CommonFuncs.h
+++ b/Source/Core/Common/Src/CommonFuncs.h
@@ -21,6 +21,7 @@
#ifdef _WIN32
#define SLEEP(x) Sleep(x)
#else
+#include <unistd.h>
#define SLEEP(x) usleep(x*1000)
#endif