From: NAKAMURA Takumi Date: Tue, 19 Oct 2010 01:21:55 +0000 (+0000) Subject: lib/Support/raw_ostream.cpp: Fix Cygwin's build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1b5de0e7ee9e604d041cda1af544e27971ebeb81;p=oota-llvm.git 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 --- 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