Commit ead9c591 by Edward Thomson

Include windows.h on win32 for Sleep

parent 2bc36fac
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
#include "common.h" #include "common.h"
#ifdef _WIN32 #ifdef _WIN32
#define sleep(a) Sleep(a * 1000) # include <Windows.h>
# define sleep(a) Sleep(a * 1000)
#else #else
#include <unistd.h> # include <unistd.h>
#endif #endif
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment