avdevice/oss_audio: Add #if HAVE_UNISTD_H around #include <unistd.h>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-07-08 02:48:51 +02:00
parent 8e6a66b662
commit 0dbcecc8dc
1 changed files with 2 additions and 0 deletions

View File

@ -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>