Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-08 04:48:51 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 04:48:51 +0400
commit0dbcecc8dc6b7733451b23627e6192fe8d2038aa (patch)
tree93103089a9c459c0d7e57a1df65ea58d22c9300e /libavdevice/oss_audio.c
parent8e6a66b6625cb2990f42661215587a1b5b15eec9 (diff)
avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/oss_audio.c')
-rw-r--r--libavdevice/oss_audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c
index 71bf63689a..734e565cc7 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>