summaryrefslogtreecommitdiff
path: root/oslib
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-25 09:51:13 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-25 09:51:13 -0600
commit036a159982656aaa98b0a0490defc36c6065aa93 (patch)
tree7038e2235114b3a7ff6f339b96db73e77da56a7f /oslib
parenta2c95580b468a1ddd72ecb5532aca7d94f6efa5b (diff)
Android: fix missing sysmacros.h include
Fix from Elliott Hughes and Sitsofe Wheeler. Fixes: https://github.com/axboe/fio/issues/367 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'oslib')
-rw-r--r--oslib/linux-dev-lookup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/oslib/linux-dev-lookup.c b/oslib/linux-dev-lookup.c
index 54017ff..1dda93f 100644
--- a/oslib/linux-dev-lookup.c
+++ b/oslib/linux-dev-lookup.c
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <dirent.h>
#include <string.h>
#include <stdio.h>