diff -Nbaur --exclude=*.info* binutils-2.16.1/bfd/doc/chew.c binutils-2.16.1-arm/bfd/doc/chew.c --- binutils-2.16.1/bfd/doc/chew.c Thu Mar 3 11:41:02 2005 +++ binutils-2.16.1-arm/bfd/doc/chew.c Mon Sep 19 03:38:45 2005 @@ -91,6 +91,12 @@ #define DEF_SIZE 5000 #define STACK 50 +#ifdef __MINGW32__ +/* Prevent \r\n\ line endings */ +#include +unsigned int _CRT_fmode = _O_BINARY; +#endif + int internal_wanted; int internal_mode;