commit | ec5c6b125c1eab992882602158bab54957aa733d | [log] [tgz] |
---|---|---|
author | Aaron Carroll <aaronc@cse.unsw.edu.au> | Wed Nov 21 10:39:00 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 21 10:39:00 2012 +0100 |
tree | b3c9e2c083d0603e64e43df1cb55a650643930d9 | |
parent | d6dc02fbe47fa6b4752df7a2ed52447506d68b45 [diff] [blame] |
Add support for Android Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/memory.c b/memory.c index b4ee475..4a9dc4a 100644 --- a/memory.c +++ b/memory.c
@@ -5,7 +5,9 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#ifndef FIO_NO_HAVE_SHM_H #include <sys/shm.h> +#endif #include <sys/mman.h> #include "fio.h"