[FFmpeg-cvslog] avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include <unistd.h>
Michael Niedermayer
git at videolan.org
Tue Jul 8 03:03:28 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 8 02:48:51 2014 +0200| [0dbcecc8dc6b7733451b23627e6192fe8d2038aa] | committer: Michael Niedermayer
avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0dbcecc8dc6b7733451b23627e6192fe8d2038aa
---
libavdevice/oss_audio.c | 2 ++
1 file changed, 2 insertions(+)
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>
More information about the ffmpeg-cvslog
mailing list