demos: Fix Android build on OSX and Windows
authorCody Northrop <cnorthrop@google.com>
Fri, 5 Aug 2016 18:30:44 +0000 (12:30 -0600)
committerTony Barbour <tony@LunarG.com>
Fri, 5 Aug 2016 20:34:08 +0000 (14:34 -0600)
demos/cube.c

index 8f555e6..98adcb8 100644 (file)
@@ -29,7 +29,7 @@
 #include <stdbool.h>
 #include <assert.h>
 #include <signal.h>
-#ifdef __linux__
+#if defined(__linux__) && !defined(ANDROID)
 #include <X11/Xutil.h>
 #endif