From c5e490924fd3b5e9ab49de3efb47b1e607d90045 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 21 May 2012 12:21:57 +0930 Subject: [PATCH] Check for linux/ioctl.h before including it. This fixes the build on OSX although it won't actually work. --- audio_msm_g1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio_msm_g1.c b/audio_msm_g1.c index 61a9fb70..9d9356b7 100644 --- a/audio_msm_g1.c +++ b/audio_msm_g1.c @@ -58,7 +58,9 @@ extern int recordBufferSize; #include #include +#if HAVE_LINUX_IOCTL_H #include +#endif #if 0 #include