diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-05-21 17:25:00 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-05-21 17:25:00 -0700 |
commit | ead9c591ef6cbad37198421637ae31eec5ab4472 (patch) | |
tree | f0fb22cf430a4095a4628a62351313f259c2573a /examples/status.c | |
parent | 2bc36faccea049d7e8e87de1c27adfbbdd77e1be (diff) | |
download | libgit2-ead9c591ef6cbad37198421637ae31eec5ab4472.tar.gz |
Include windows.h on win32 for Sleep
Diffstat (limited to 'examples/status.c')
-rw-r--r-- | examples/status.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/status.c b/examples/status.c index 9c99744cb..a59f34454 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 /** |