summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/raw_ostream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index b9beac2869a..008f85603ee 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud