summaryrefslogtreecommitdiff
path: root/otherlibs
diff options
context:
space:
mode:
authorDavid Allsopp <david.allsopp@metastack.com>2017-03-22 12:10:47 +0000
committerDavid Allsopp <david.allsopp@metastack.com>2017-04-09 10:47:56 +0200
commit94b0df88a3ff2851e4b5e64d3faa59dfe63cd7c5 (patch)
tree977aaa3e151a102d67fa12f2d00662ca0b8c375f /otherlibs
parent71dfcb56e7dbec2f7a38b920834750718f1d6f51 (diff)
downloadocaml-94b0df88a3ff2851e4b5e64d3faa59dfe63cd7c5.tar.gz
Fix missing header on MSVC
Diffstat (limited to 'otherlibs')
-rw-r--r--otherlibs/win32unix/channels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/win32unix/channels.c b/otherlibs/win32unix/channels.c
index f2e60f6b22..0347bd38a8 100644
--- a/otherlibs/win32unix/channels.c
+++ b/otherlibs/win32unix/channels.c
@@ -21,6 +21,7 @@
#include <caml/memory.h>
#include "unixsupport.h"
#include <fcntl.h>
+#include <io.h>
#if defined(_MSC_VER) && !defined(_INTPTR_T_DEFINED)
typedef int intptr_t;