summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-20 11:24:29 -0700
committerHawking Zhang <Hawking.Zhang@amd.com>2017-07-31 16:19:54 +0800
commite7b001494836909db5e06da57aa1ea0fddaf10bc (patch)
treee2cf0bb0b77a2b0e46b0d98aa8d3819d3b382feb
parent45ffabdfa2d241caf238756ceca879aa9ee352e7 (diff)
Android's major/minor/makedev live in <sys/sysmacros.h>
Bug: https://github.com/android-ndk/ndk/issues/398 Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Android.common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 35c0f02c..4b5462f6 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -1,5 +1,6 @@
# XXX: Consider moving these to config.h analogous to autoconf.
LOCAL_CFLAGS += \
+ -DMAJOR_IN_SYSMACROS=1
-DHAVE_VISIBILITY=1 \
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1