summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-20 22:24:10 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-20 22:24:10 +0100
commita14ca44ada0708be91ed7741a32176bef4801cc4 (patch)
treeaaa8fd923f2feae7f95e9a04c5b837b1a9ccb06e /os
parentd09913c248f04ab33a7e7bbfb2227e9db8b9f4a2 (diff)
downloadfio-a14ca44ada0708be91ed7741a32176bef4801cc4.tar.gz
fio-a14ca44ada0708be91ed7741a32176bef4801cc4.tar.bz2
os.h should include headers it needs by itself
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os')
-rw-r--r--os/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/os.h b/os/os.h
index 9a48c603..d128f027 100644
--- a/os/os.h
+++ b/os/os.h
@@ -1,6 +1,9 @@
#ifndef FIO_OS_H
#define FIO_OS_H
+#include <sys/types.h>
+#include <unistd.h>
+
#if defined(__linux__)
#include "os-linux.h"
#elif defined(__FreeBSD__)