Fix compile warnings on Windows
[fio.git] / os / windows / posix.h
diff --git a/os/windows/posix.h b/os/windows/posix.h
new file mode 100644 (file)
index 0000000..cb89cf6
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef FIO_WINDOWS_POSIX_H
+#define FIO_WINDOWS_POSIX_H
+
+typedef off_t off64_t;
+typedef int clockid_t;
+
+extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
+extern int inet_aton(const char *, struct in_addr *);
+
+#endif