FIO Windows update
[fio.git] / file.h
diff --git a/file.h b/file.h
index fa8c1d236c498da467a5ea716642d66ec56abef3..10c5379c2f3ec6fee8141cc770dadea3b8467532 100644 (file)
--- a/file.h
+++ b/file.h
@@ -1,7 +1,9 @@
 #ifndef FIO_FILE_H
 #define FIO_FILE_H
 
+#include "compiler/compiler.h"
 #include "io_ddir.h"
+#include "flist.h"
 
 /*
  * The type of object we are working on
@@ -49,6 +51,10 @@ struct fio_file {
 
        void *file_data;
        int fd;
+#ifdef __CYGWIN__
+       HANDLE hFile;
+       HANDLE ioCP;
+#endif
 
        /*
         * filename and possible memory mapping