summaryrefslogtreecommitdiff
path: root/libavcodec/os_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/os_support.h')
-rw-r--r--libavcodec/os_support.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h
index 93930f03ba..ef895b1d51 100644
--- a/libavcodec/os_support.h
+++ b/libavcodec/os_support.h
@@ -12,7 +12,8 @@
#ifdef __MINGW32__
# undef DATADIR /* clashes with /usr/include/w32api/objidl.h */
-# include <windows.h>
+__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
+// # include <windows.h>
# define usleep(t) Sleep((t) / 1000)
#endif