summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-02-13 10:32:42 -0500
committerpommicket <pommicket@gmail.com>2024-02-13 10:32:42 -0500
commit250a5ae0795195c729e3808f9470ce61bb34b0d8 (patch)
treeee1c58958791a098d2851a2427e6072b9150da1f /buffer.c
parentd393c3eb068f8dcfe106b7ad0f8e43aacc091d2e (diff)
fix windows include
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/buffer.c b/buffer.c
index 63755d2..ad1ee55 100644
--- a/buffer.c
+++ b/buffer.c
@@ -9,6 +9,8 @@
#if __unix__
#include <fcntl.h>
#include <unistd.h>
+#elif _WIN32
+#include <io.h>
#endif
/// A single line in a buffer