summaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-05-30 15:02:38 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-30 15:02:38 +0200
commit5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 (patch)
tree6edeb9e2b3a114351af6df84da29cd8af6554e4b /memory.c
parentd0c70934dde93a8ee260a84c1bf69ff24484d486 (diff)
downloadfio-5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373.tar.gz
fio-5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373.tar.bz2
Make it work on opensolaris
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/memory.c b/memory.c
index 257914b1..3bf31d76 100644
--- a/memory.c
+++ b/memory.c
@@ -1,6 +1,9 @@
/*
* Memory helpers
*/
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include <unistd.h>
#include <sys/shm.h>
#include <sys/mman.h>