First snapshot of FIO for Windows
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index c8f517b6edc8c8199f1451afbdaf524bc1d926c2..95f0ff29e02fad0b8f7ed07b1f1e451c8bbeb1ae 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -2,6 +2,7 @@
 #define FIO_OS_H
 
 #include <sys/types.h>
 #define FIO_OS_H
 
 #include <sys/types.h>
+#include <pthread.h>
 #include <unistd.h>
 
 #if defined(__linux__)
 #include <unistd.h>
 
 #if defined(__linux__)
@@ -16,6 +17,8 @@
 #include "os-mac.h"
 #elif defined(_AIX)
 #include "os-aix.h"
 #include "os-mac.h"
 #elif defined(_AIX)
 #include "os-aix.h"
+#elif defined(__CYGWIN__)
+#include "os-windows.h"
 #else
 #error "unsupported os"
 #endif
 #else
 #error "unsupported os"
 #endif