aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2017-05-18 17:52:30 -0500
committerElliott Hughes2017-05-18 17:52:30 -0500
commit791d9b9fd9bd768bc81f5f224fb5fc2904035fa5 (patch)
tree38977c605c37370b71a4ce2000593e0f50914a07
parentd8ed3020112ded2e210e652f5a8f367d5f847157 (diff)
downloadexternal-libdrm-791d9b9fd9bd768bc81f5f224fb5fc2904035fa5.tar.gz
external-libdrm-791d9b9fd9bd768bc81f5f224fb5fc2904035fa5.tar.xz
external-libdrm-791d9b9fd9bd768bc81f5f224fb5fc2904035fa5.zip
Android's major/minor/makedev live in <sys/sysmacros.h>android-o-preview-4android-o-preview-3android-o-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 @@
1# XXX: Consider moving these to config.h analogous to autoconf. 1# XXX: Consider moving these to config.h analogous to autoconf.
2LOCAL_CFLAGS += \ 2LOCAL_CFLAGS += \
3 -DMAJOR_IN_SYSMACROS=1 \
3 -DHAVE_VISIBILITY=1 \ 4 -DHAVE_VISIBILITY=1 \
4 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 5 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
5 6