diff options
-rw-r--r-- | include/compat/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 4c4df10..5e6ab1d 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h | |||
@@ -38,6 +38,7 @@ ssize_t pwrite(int d, const void *buf, size_t nbytes, off_t offset); | |||
38 | #define access _access | 38 | #define access _access |
39 | 39 | ||
40 | #ifdef _MSC_VER | 40 | #ifdef _MSC_VER |
41 | #include <windows.h> | ||
41 | static inline unsigned int sleep(unsigned int seconds) | 42 | static inline unsigned int sleep(unsigned int seconds) |
42 | { | 43 | { |
43 | Sleep(seconds * 1000); | 44 | Sleep(seconds * 1000); |