os.h should include headers it needs by itself
authorJens Axboe <jens.axboe@oracle.com>
Sun, 20 Dec 2009 21:24:10 +0000 (22:24 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sun, 20 Dec 2009 21:24:10 +0000 (22:24 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os.h

diff --git a/os/os.h b/os/os.h
index 9a48c603534d9629da59b0f533a5b20919d0150f..d128f027e81c79e6bcdef2b32d75c8e5c49be74e 100644 (file)
--- 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__)