aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-18 15:52:30 -0700
committerElliott Hughes <enh@google.com>2017-05-18 15:52:30 -0700
commit791d9b9fd9bd768bc81f5f224fb5fc2904035fa5 (patch)
tree38977c605c37370b71a4ce2000593e0f50914a07
parentd8ed3020112ded2e210e652f5a8f367d5f847157 (diff)
downloadlibdrm-o-iot-preview-5.tar.gz
Android's major/minor/makedev live in <sys/sysmacros.h>android-o-preview-4android-o-preview-3android-o-iot-preview-5o-iot-preview-5
Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I4fcb9017ef5917890305760e27de164d7daf9685
-rw-r--r--Android.common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index f57b8d37..46370815 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