Merge pull request #2379 from ethomson/status_win32 Include windows.h on win32 for Sleep
diff --git a/examples/status.c b/examples/status.c
index 9c99744..a59f344 100644
--- a/examples/status.c
+++ b/examples/status.c
@@ -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
/**