diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 01:55:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 01:55:47 +0200 |
commit | 39ea21713c545607d3269d4414e3fe6224cf9a21 (patch) | |
tree | 12446a6caa1702816736e294e9bd57fc81b3c15a /libavcodec/libxvid_rc.c | |
parent | 0ebcf878032fa32a02e406a3397b51dc8b45109d (diff) | |
download | ffmpeg-39ea21713c545607d3269d4414e3fe6224cf9a21.tar.gz |
avcodec/libxvid: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libxvid_rc.c')
-rw-r--r-- | libavcodec/libxvid_rc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c index 5da435b008..1351dcde6d 100644 --- a/libavcodec/libxvid_rc.c +++ b/libavcodec/libxvid_rc.c @@ -22,13 +22,16 @@ #include "config.h" #include <xvid.h> -#include <unistd.h> #include "libavutil/attributes.h" #include "libavutil/file.h" #include "avcodec.h" #include "libxvid.h" #include "mpegvideo.h" +#if HAVE_UNISTD_H +#include <unistd.h> +#endif + #undef NDEBUG #include <assert.h> |