From 64310c926a3113d7ac95667c4ed102caff749602 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 23 Dec 1992 23:36:27 +0000 Subject: [PATCH] Correct the modification of endian.h. From-SVN: r2905 --- gcc/fixinc.svr4 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gcc/fixinc.svr4 b/gcc/fixinc.svr4 index a75d7fa8c76..290067b7f03 100755 --- a/gcc/fixinc.svr4 +++ b/gcc/fixinc.svr4 @@ -951,10 +951,9 @@ if [ \! -z "$file_to_fix" ]; then else sed -e '/# ifdef __STDC__/i\ # if !defined (__GNUC__) && !defined (__GNUG__)' \ - -e ' unsigned long ntohl(), htonl();\ -# endif/a\ -# endif /* !defined (__GNUC__) && !defined (__GNUG__) */\ -# include ' \ + -e '/# include /s/ / /'\ + -e '/# include /i\ +# endif /* !defined (__GNUC__) && !defined (__GNUG__) */'\ $file_to_fix > ${LIB}/${file}.sed rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file echo Fixed $file_to_fix