From 1b5de0e7ee9e604d041cda1af544e27971ebeb81 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 19 Oct 2010 01:21:55 +0000 Subject: [PATCH] lib/Support/raw_ostream.cpp: Fix Cygwin's build. setmode is provided by io.h on Cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116784 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/raw_ostream.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index f3bcfa1b14a..dceccad161d 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -32,6 +32,10 @@ # include #endif +#if defined(__CYGWIN__) +#include +#endif + #if defined(_MSC_VER) #include #include