summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/raw_ostream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
index b9beac2869..008f85603e 100644
--- a/lib/Support/raw_ostream.cpp
+++ b/lib/Support/raw_ostream.cpp
@@ -26,6 +26,7 @@
#if defined(_MSC_VER)
#include <io.h>
+#include <fcntl.h>
#ifndef STDIN_FILENO
# define STDIN_FILENO 0
#endif