diff options
author | Elliott Hughes <enh@google.com> | 2017-05-18 09:31:59 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-18 09:31:59 -0700 |
commit | 1dd6771e0f2e7da8736c9b21603817bce0d55ea9 (patch) | |
tree | e7a3c3fc01b76f339dea370d9af5ada6bf4df871 | |
parent | 1fe2b737ad19056bc2bc298b7c30ac93d36a4f6b (diff) | |
download | rootdev-1dd6771e0f2e7da8736c9b21603817bce0d55ea9.tar.gz |
Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>.android-o-preview-4android-o-preview-3android-o-iot-preview-5o-iot-preview-5
I'm not sure where (if anywhere) is upstream here, so modifying our makefile
rather than the source.
Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: I2690bbba6c4ac98c957f780e9b9625e8690052f8
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ rootdev_CFLAGS := \ -D_BSD_SOURCE \ -D_FILE_OFFSET_BITS=64 \ -D_LARGEFILE_SOURCE \ + -include sys/sysmacros.h \ -Wall -Werror -Wno-sign-compare \ # Build the shared library. |