diff options
author | Elliott Hughes <enh@google.com> | 2017-05-18 10:05:50 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-18 10:05:50 -0700 |
commit | a54b8cbc93ac0b3ed398f93a3aec77c35a1b178a (patch) | |
tree | 6829ea4d3f8e5c171419937215a05f59dcaf654d | |
parent | cf41806599b7d50ed4c91aab3815154b8c64324a (diff) | |
download | fio-a54b8cbc93ac0b3ed398f93a3aec77c35a1b178a.tar.gz |
fio assumes <sys/sysmacros.h> has been included.
Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: I1a6b31173bd91b96a8c13f47599209dd03ec64e9
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 \ |