From e8f82bfd520e7f7185d178cdbecbb9b1bf2b2c1c Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 30 May 2017 07:22:18 -0500 Subject: [PATCH] Android: major/minor/makedev live in MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit sysmacros.h was getting implicitly included in types.h until recently in AOSP master. Define MAJOR_IN_SYSMACROS to explicitly include sysmacros.h. Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov 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 a79c33149dd..57c31fc7e99 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -64,6 +64,7 @@ LOCAL_CFLAGS += \ -DHAVE_PTHREAD=1 \ -DHAVE_DLOPEN \ -DHAVE_DL_ITERATE_PHDR \ + -DMAJOR_IN_SYSMACROS \ -fvisibility=hidden \ -Wno-sign-compare -- 2.30.2