From bbe998791d6cd0d5c048beba6ae8a6dbbf8185be Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 20 May 2017 11:24:29 -0700 Subject: [PATCH] Android's major/minor/makedev live in Bug: https://github.com/android-ndk/ndk/issues/398 Signed-off-by: Rob Herring --- Android.common.mk | 1 + 1 file changed, 1 insertion(+) 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