Fix sed expression which looks for <sys/types.h> in <pwd.h>

From-SVN: r13681
This commit is contained in:
Ian Lance Taylor 1997-02-27 22:56:43 +00:00
parent 26a20dde93
commit 6052e61938

View File

@ -1,7 +1,7 @@
#! /bin/sh
# Install modified versions of certain ANSI-incompatible
# native Sequent DYNIX/ptx System V Release 3.2 system include files.
# Copyright (C) 1994, 1996 Free Software Foundation, Inc.
# Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
# Contributed by Bill Burton <billb@progress.com>
# Portions adapted from fixinc.svr4 and fixincludes.
#
@ -125,7 +125,7 @@ if [ \! -z "$file_to_fix" ]; then
if grep stdio $file_to_fix > /dev/null; then
true
else
sed -e '/#include \<sys\types\.h\>/a\
sed -e '/#include <sys\/types\.h>/a\
\
#if defined(__STDC__) || defined(__cplusplus)\
#include <stdio.h>\