aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2016-08-05 12:30:44 -0600
committerTony Barbour <tony@LunarG.com>2016-08-05 14:34:08 -0600
commit346d7a476c11c4f30cf63cc1ef637ff4ec6abb7a (patch)
treed9c1550a75998e98e40938fdf21bb47d4943b208
parent5a782807112c5aada8929fbc9a0f3183efae77ba (diff)
downloadusermoji-346d7a476c11c4f30cf63cc1ef637ff4ec6abb7a.tar.xz
demos: Fix Android build on OSX and Windows
-rw-r--r--demos/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c
index 8f555e68..98adcb82 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -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