commit | 791d9b9fd9bd768bc81f5f224fb5fc2904035fa5 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu May 18 15:52:30 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu May 18 15:52:30 2017 -0700 |
tree | 38977c605c37370b71a4ce2000593e0f50914a07 | |
parent | d8ed3020112ded2e210e652f5a8f367d5f847157 [diff] |
Android's major/minor/makedev live in <sys/sysmacros.h> Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I4fcb9017ef5917890305760e27de164d7daf9685
diff --git a/Android.common.mk b/Android.common.mk index f57b8d3..4637081 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