summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2023-01-08 12:05:34 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2023-01-08 12:05:34 -0500
commitbb6d6850bd7d1e7fb65bae6f4d1bae32534f3455 (patch)
tree74b40c5ec7877043802ebc8b325df8552f002e8e /util.c
parent34212b559d7bb0eb0d4e7797ba3e9b1a718cedac (diff)
start windows support
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index d20077b..d1daa7d 100644
--- a/util.c
+++ b/util.c
@@ -5,6 +5,7 @@
#if _WIN32
#include <intrin.h>
#include <direct.h>
+#include <io.h>
#elif __unix__
#include <unistd.h>
#else