os.h should include headers it needs by itself
[fio.git] / 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__)