summaryrefslogtreecommitdiffhomepage
path: root/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os.h b/src/os.h
index d789717..c00eaf3 100644
--- a/src/os.h
+++ b/src/os.h
@@ -28,6 +28,7 @@
#include <errno.h>
#include <fcntl.h>
#ifdef _WIN32
+#include <direct.h>
#include <io.h>
#include <wchar.h>
// DUMB HACK: noreturn.h is alphabetically before os.h so including it after