summaryrefslogtreecommitdiff
path: root/Android.common.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-20 11:24:29 -0700
committerRob Herring <robh@kernel.org>2017-05-28 09:30:10 -0500
commitbbe998791d6cd0d5c048beba6ae8a6dbbf8185be (patch)
treeb6040f966340b103936958e64e9bf3d6c0741d88 /Android.common.mk
parent81312f3730c14a2930a7784493701809c7f04a26 (diff)
downloadlibdrm-bbe998791d6cd0d5c048beba6ae8a6dbbf8185be.tar.gz
libdrm-bbe998791d6cd0d5c048beba6ae8a6dbbf8185be.tar.bz2
libdrm-bbe998791d6cd0d5c048beba6ae8a6dbbf8185be.zip
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>
Diffstat (limited to 'Android.common.mk')
-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