diff --git a/libavutil/file.c b/libavutil/file.c index 41bd0ddf58..ce02487f35 100644 --- a/libavutil/file.c +++ b/libavutil/file.c @@ -25,10 +25,12 @@ #if HAVE_UNISTD_H #include #endif +#if HAVE_IO_H +#include +#endif #if HAVE_MMAP #include #elif HAVE_MAPVIEWOFFILE -#include #include #endif