summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-05-20 01:14:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-20 01:14:05 +0000
commit9fcb2b709187bc177f79162bee1969d197f8ec33 (patch)
tree6829ea4d3f8e5c171419937215a05f59dcaf654d
parentcf41806599b7d50ed4c91aab3815154b8c64324a (diff)
parenta54b8cbc93ac0b3ed398f93a3aec77c35a1b178a (diff)
downloadfio-9fcb2b709187bc177f79162bee1969d197f8ec33.tar.gz
fio assumes <sys/sysmacros.h> has been included.
am: a54b8cbc93 Change-Id: I1fbfddf1b8bb96a60181252c004858f774df5e54
-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 \