diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index 3ec9524c93..b521e010e3 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -39,6 +39,10 @@ #include #endif +#if HAVE_IO_H +#include +#endif + /** * Buffer management macros. */ diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c index 1351dcde6d..ae6ddb89d1 100644 --- a/libavcodec/libxvid_rc.c +++ b/libavcodec/libxvid_rc.c @@ -32,6 +32,10 @@ #include #endif +#if HAVE_IO_H +#include +#endif + #undef NDEBUG #include diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index e3ffaff014..8aa8c3879b 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -23,6 +23,9 @@ #if HAVE_UNISTD_H #include #endif +#if HAVE_IO_H +#include +#endif #if HAVE_CRYPTGENRANDOM #include #include