aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r--lib/Support/raw_ostream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
index f3bcfa1b14..dceccad161 100644
--- a/lib/Support/raw_ostream.cpp
+++ b/lib/Support/raw_ostream.cpp
@@ -32,6 +32,10 @@
# include <fcntl.h>
#endif
+#if defined(__CYGWIN__)
+#include <io.h>
+#endif
+
#if defined(_MSC_VER)
#include <io.h>
#include <fcntl.h>