diff options
author | Brent Cook <busterb@gmail.com> | 2020-04-14 22:38:10 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-04-14 22:38:10 -0500 |
commit | e34586db1981a9183ff9164a23da37b3f59634f0 (patch) | |
tree | a991e523e575e8bafeef1b9bc5e30a19ef1436f3 | |
parent | 79f2a52a391dab35132a2aa998757abea7f32533 (diff) | |
download | portable-e34586db1981a9183ff9164a23da37b3f59634f0.tar.gz portable-e34586db1981a9183ff9164a23da37b3f59634f0.tar.bz2 portable-e34586db1981a9183ff9164a23da37b3f59634f0.zip |
include <windows.h>
-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); |