diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 02:48:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 02:48:51 +0200 |
commit | 0dbcecc8dc6b7733451b23627e6192fe8d2038aa (patch) | |
tree | 93103089a9c459c0d7e57a1df65ea58d22c9300e | |
parent | 8e6a66b6625cb2990f42661215587a1b5b15eec9 (diff) | |
download | ffmpeg-streaming-0dbcecc8dc6b7733451b23627e6192fe8d2038aa.zip ffmpeg-streaming-0dbcecc8dc6b7733451b23627e6192fe8d2038aa.tar.gz |
avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavdevice/oss_audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index 71bf636..734e565 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -30,7 +30,9 @@ #else #include <sys/soundcard.h> #endif +#if HAVE_UNISTD_H #include <unistd.h> +#endif #include <fcntl.h> #include <sys/ioctl.h> |