summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-20 01:16:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-20 01:16:31 +0000
commit5cd6610b8638f7768b4fa4baebae51877da29a39 (patch)
tree6829ea4d3f8e5c171419937215a05f59dcaf654d
parentcf41806599b7d50ed4c91aab3815154b8c64324a (diff)
parent9fcb2b709187bc177f79162bee1969d197f8ec33 (diff)
downloadfio-5cd6610b8638f7768b4fa4baebae51877da29a39.tar.gz
fio assumes <sys/sysmacros.h> has been included. am: a54b8cbc93
am: 9fcb2b7091 Change-Id: Ia7a066a5dc64f3e48ed3ed69c7853ebba6be72a5
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 35a6973b..87eb2495 100644
--- a/Android.mk
+++ b/Android.mk
@@ -101,6 +101,10 @@ LOCAL_CFLAGS += -DFIO_VERSION="\"fio-2.2.6\"" \
-Wno-unused-parameter \
-Wno-unused-variable \
+# Workaround until upstream copes with a glibc/bionic where <sys/types.h>
+# doesn't get you <sys/sysmacros.h> for free.
+LOCAL_CFLAGS += -include sys/sysmacros.h
+
LOCAL_LDFLAGS += \
-rdynamic \