diff options
author | Rob Herring <[email protected]> | 2017-05-30 07:22:18 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2017-05-31 16:35:25 -0500 |
commit | e8f82bfd520e7f7185d178cdbecbb9b1bf2b2c1c (patch) | |
tree | d9a3be3c927e76794b1bc6cf42a5246da482e343 | |
parent | 22d6b08d2d9079dc74c5e8e8d3bbaac3bf582a11 (diff) |
Android: major/minor/makedev live in <sys/sysmacros.h>
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
-rw-r--r-- | Android.common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 |