aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc.sco
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc.sco')
-rwxr-xr-xgcc/fixinc.sco8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fixinc.sco b/gcc/fixinc.sco
index 205a8822af1..6e63c67140f 100755
--- a/gcc/fixinc.sco
+++ b/gcc/fixinc.sco
@@ -6,7 +6,7 @@
# Based on fixinc.svr4 script by Ron Guilmette (rfg@ncd.com) (SCO
# modifications by Ian Lance Taylor (ian@airs.com)).
#
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
#
# This file is part of GNU CC.
#
@@ -381,12 +381,12 @@ do
then
echo Fixed $file
rm -f $LIB/$file
- cat <<'__EOF__' >$LIB/$file
+ cat << __EOF__ >$LIB/$file
#ifndef _CURSES_H_WRAPPER
#ifdef __cplusplus
# define bool __curses_bool_t
#endif
-#include_next <curses.h>
+#include_next <$file>
#ifdef __cplusplus
# undef bool
#endif
@@ -396,7 +396,7 @@ __EOF__
# Define _CURSES_H_WRAPPER at the end of the wrapper, not the start,
# so that if #include_next gets another instance of the wrapper,
# this will follow the #include_next chain until we arrive at
- # the real <curses.h>.
+ # the real system include file.
chmod a+r $LIB/$file
fi
fi