summaryrefslogtreecommitdiff
path: root/os/os.h
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2011-01-02 20:14:54 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-02 20:14:54 +0100
commit03e20d687566753b90383571e5e152c5142bdffd (patch)
tree062419c9a907354a95fe53e88b6ca3a143689d7e /os/os.h
parent2d7760d1dbbc742a0699b959ffcd8742b9db9e2c (diff)
downloadfio-03e20d687566753b90383571e5e152c5142bdffd.tar.gz
fio-03e20d687566753b90383571e5e152c5142bdffd.tar.bz2
First snapshot of FIO for Windows
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os.h')
-rw-r--r--os/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/os.h b/os/os.h
index c8f517b6..95f0ff29 100644
--- a/os/os.h
+++ b/os/os.h
@@ -2,6 +2,7 @@
#define FIO_OS_H
#include <sys/types.h>
+#include <pthread.h>
#include <unistd.h>
#if defined(__linux__)
@@ -16,6 +17,8 @@
#include "os-mac.h"
#elif defined(_AIX)
#include "os-aix.h"
+#elif defined(__CYGWIN__)
+#include "os-windows.h"
#else
#error "unsupported os"
#endif