aboutsummaryrefslogtreecommitdiffstats
path: root/android/camera
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2011-08-24 08:35:46 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2011-08-24 09:03:00 -0700
commit0620f37593cc760cfab891defeff04e00be09260 (patch)
tree599d3bd20d87d63ab486a667f575d04704b8c05d /android/camera
parent139993449b895edfd94599ef9c975192dcce810d (diff)
downloadexternal_qemu-0620f37593cc760cfab891defeff04e00be09260.zip
external_qemu-0620f37593cc760cfab891defeff04e00be09260.tar.gz
external_qemu-0620f37593cc760cfab891defeff04e00be09260.tar.bz2
Fix the build by #ifdefing linux-only includes
Change-Id: Ia4b6b45ad305307f28858f834f284b07be7d134d
Diffstat (limited to 'android/camera')
-rwxr-xr-xandroid/camera/camera-format-converters.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/android/camera/camera-format-converters.c b/android/camera/camera-format-converters.c
index e966e59..dfaa6c2 100755
--- a/android/camera/camera-format-converters.c
+++ b/android/camera/camera-format-converters.c
@@ -17,9 +17,11 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#ifndef _WIN32
+#ifdef _WIN32
+#elif defined(__APPLE__)
+#else
#include <linux/videodev2.h>
-#endif /* _WIN32 */
+#endif
#include "android/camera/camera-format-converters.h"
/* Describes a convertor for one pixel format to another. */