aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2020-04-14 22:38:10 -0500
committerBrent Cook <busterb@gmail.com>2020-04-14 22:38:10 -0500
commite34586db1981a9183ff9164a23da37b3f59634f0 (patch)
treea991e523e575e8bafeef1b9bc5e30a19ef1436f3
parent79f2a52a391dab35132a2aa998757abea7f32533 (diff)
downloadportable-e34586db1981a9183ff9164a23da37b3f59634f0.tar.gz
portable-e34586db1981a9183ff9164a23da37b3f59634f0.tar.bz2
portable-e34586db1981a9183ff9164a23da37b3f59634f0.zip
include <windows.h>
-rw-r--r--include/compat/unistd.h1
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>
41static inline unsigned int sleep(unsigned int seconds) 42static inline unsigned int sleep(unsigned int seconds)
42{ 43{
43 Sleep(seconds * 1000); 44 Sleep(seconds * 1000);