diff --git a/ffmpeg.c b/ffmpeg.c index 18b7383efe..4d12f80533 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -31,8 +31,13 @@ #include #include #if HAVE_ISATTY +#if HAVE_IO_H +#include +#endif +#if HAVE_UNISTD_H #include #endif +#endif #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" #include "libswscale/swscale.h"