[PATCH libdrm] Android's major/minor/makedev live in <sys/sysmacros.h>

enh enh at google.com
Sat May 20 18:24:29 UTC 2017


Bug: https://github.com/android-ndk/ndk/issues/398
---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Android.common.mk b/Android.common.mk
index 35c0f02c..b45ca10f 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

-- 
2.13.0.303.g4ebf302169-goog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Android-s-major-minor-makedev-live-in-sys-sysmacros..patch
Type: text/x-patch
Size: 695 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170520/6b2a9231/attachment-0001.bin>


More information about the dri-devel mailing list