summaryrefslogtreecommitdiff
path: root/os/windows/posix/include
diff options
context:
space:
mode:
authorBruce Cran <bruce.cran@gmail.com>2015-05-06 16:30:46 -0600
committerJens Axboe <axboe@fb.com>2015-05-07 10:57:00 -0600
commitba55bfa90dbbc4a1432d6855c8411663448f19d2 (patch)
tree95efc9cf6f0e3e9484cf5abea95fb237b0c16651 /os/windows/posix/include
parent138c0e22828cfb2993c382e8fdb54562fbc19005 (diff)
downloadfio-ba55bfa90dbbc4a1432d6855c8411663448f19d2.tar.gz
fio-ba55bfa90dbbc4a1432d6855c8411663448f19d2.tar.bz2
Add Windows ctime_r implementation and add empty ioctl.h header
stat.c now uses ctime_r(), so add an implementation for Windows. It's expected that ioctl.h exists on each platform, even if it's not used: add an empty file on Windows. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'os/windows/posix/include')
-rw-r--r--os/windows/posix/include/sys/ioctl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/windows/posix/include/sys/ioctl.h b/os/windows/posix/include/sys/ioctl.h
new file mode 100644
index 00000000..a42247d1
--- /dev/null
+++ b/os/windows/posix/include/sys/ioctl.h
@@ -0,0 +1,7 @@
+#ifndef IOCTL_H
+#define IOCTL_H
+
+/* This file is empty since it only needs to exist on Windows
+ but isn't otherwise used */
+
+#endif /* IOCTL_H */ \ No newline at end of file