Commit 0dbcecc8 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8e6a66b6
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment