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:
Daniel O'Connor 2012-05-21 12:21:57 +09:30
parent 5cc908e28b
commit c5e490924f

View File

@ -58,7 +58,9 @@ extern int recordBufferSize;
#include <sys/ioctl.h>
#include <errno.h>
#if HAVE_LINUX_IOCTL_H
#include <linux/ioctl.h>
#endif
#if 0
#include <linux/msm_audio.h>