summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 23:48:04 +0200
committerGravatar Martin Szulecki2013-09-26 23:48:04 +0200
commit218635e3710ef6df647752294d52c8200b643b6f (patch)
treea7d8f550947064db8fee539efb938dfa58ed0093 /src
parent55a44b7ed78cad9f236b50ba67bd143dd5757bbd (diff)
downloadlibirecovery-218635e3710ef6df647752294d52c8200b643b6f.tar.gz
libirecovery-218635e3710ef6df647752294d52c8200b643b6f.tar.bz2
Move various WIN32 includes private, no need to keep them in the header
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 6a8f470..a9369dc 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -31,9 +31,13 @@
#else
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#undef interface
#include <setupapi.h>
#define _FMT_qX "%I64X"
#define _FMT_016llx "%016I64x"
+#ifndef sleep
+#define sleep(n) Sleep(1000 * n)
+#endif
#endif
#include "libirecovery.h"