mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-30 09:58:55 +00:00
Check for linux/ioctl.h before including it.
This fixes the build on OSX although it won't actually work.
This commit is contained in:
parent
5cc908e28b
commit
c5e490924f
@ -58,7 +58,9 @@ extern int recordBufferSize;
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#if HAVE_LINUX_IOCTL_H
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#include <linux/msm_audio.h>
|
#include <linux/msm_audio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user