Include windows.h on win32 for Sleep

This commit is contained in:
Edward Thomson 2014-05-21 17:25:00 -07:00
parent 2bc36facce
commit ead9c591ef

View File

@ -14,9 +14,10 @@
#include "common.h"
#ifdef _WIN32
#define sleep(a) Sleep(a * 1000)
# include <Windows.h>
# define sleep(a) Sleep(a * 1000)
#else
#include <unistd.h>
# include <unistd.h>
#endif
/**