diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 0cbaf453db..8054ba6bbb 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -28,9 +28,11 @@ #include "os_support.h" #if defined(_WIN32) && !defined(__MINGW32CE__) +#undef open +#include +#include #include -#undef open int ff_win32_open(const char *filename_utf8, int oflag, int pmode) { int fd;