From 0dbcecc8dc6b7733451b23627e6192fe8d2038aa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 8 Jul 2014 02:48:51 +0200 Subject: [PATCH] avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include Signed-off-by: Michael Niedermayer --- libavdevice/oss_audio.c | 2 ++ 1 file changed, 2 insertions(+) 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 #endif +#if HAVE_UNISTD_H #include +#endif #include #include