From fe84f39adb77a40530b933d33c4874ccc0f3c863 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 19 Oct 2010 01:21:55 +0000 Subject: lib/Support/raw_ostream.cpp: Fix Cygwin's build. setmode is provided by io.h on Cygwin. llvm-svn: 116784 --- llvm/lib/Support/raw_ostream.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index f3bcfa1b14a..dceccad161d 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/lib/Support/raw_ostream.cpp @@ -32,6 +32,10 @@ # include #endif +#if defined(__CYGWIN__) +#include +#endif + #if defined(_MSC_VER) #include #include -- cgit v1.2.3