summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libirecovery.h')
-rw-r--r--src/libirecovery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libirecovery.h b/src/libirecovery.h
index 0af73e6..84d8681 100644
--- a/src/libirecovery.h
+++ b/src/libirecovery.h
@@ -30,8 +30,10 @@ extern "C" {
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef interface
+#ifndef sleep
#define sleep(n) Sleep(1000 * n)
#endif
+#endif
#define APPLE_VENDOR_ID 0x05AC