diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-09-11 15:54:09 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-11 22:59:43 +0200 |
commit | 23a5a24c0fe5441c4f9af2b012bcbf2f42791809 (patch) | |
tree | 3a7642dca8f621411de3c2beb11547dd49aced65 | |
parent | 30a265f058692f6c5230a73b1870a3dab5b5c9ee (diff) | |
download | ffmpeg-23a5a24c0fe5441c4f9af2b012bcbf2f42791809.tar.gz |
ffmpeg: Only include unistd.h if it exists
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,8 +31,13 @@ #include <errno.h> #include <limits.h> #if HAVE_ISATTY +#if HAVE_IO_H +#include <io.h> +#endif +#if HAVE_UNISTD_H #include <unistd.h> #endif +#endif #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" #include "libswscale/swscale.h" |