summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/cpuinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/TOOLS/cpuinfo.c b/TOOLS/cpuinfo.c
index 7297f22e9e..31864e5d4b 100644
--- a/TOOLS/cpuinfo.c
+++ b/TOOLS/cpuinfo.c
@@ -19,7 +19,8 @@ void gettimeofday(struct timeval* t,void* timezone) {
#endif
#ifdef __MINGW32__
#define MISSING_USLEEP
-#define sleep(t) _sleep(1000*t);
+#include <windows.h>
+#define sleep(t) Sleep(1000*t);
#endif
#ifdef __BEOS__