From 2dc04f366549242430c74ca5904e01bf1d132f4d Mon Sep 17 00:00:00 2001 From: wilson Date: Thu, 28 Apr 2005 02:38:59 +0000 Subject: From Andris Pavenis, approved by Zack Weinberg, for DJGPP build problem. * files.c: Include io.h for DJGPP to get prototype of setmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98910 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/files.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcpp/files.c') diff --git a/libcpp/files.c b/libcpp/files.c index 593e5ebf0c8..c0ce6d45227 100644 --- a/libcpp/files.c +++ b/libcpp/files.c @@ -40,6 +40,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #ifdef __DJGPP__ +#include /* For DJGPP redirected input is opened in text mode. */ # define set_stdin_to_binary_mode() \ if (! isatty (0)) setmode (0, O_BINARY) -- cgit v1.2.1