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