summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
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