mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
8e6a66b662
commit
0dbcecc8dc
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue