diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-03 04:25:26 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-03 04:25:26 +0000 |
commit | 0b2bef9a5443516fa8d08cfc8159df8d7c8ecaef (patch) | |
tree | 427cab04d4f48f888c31aecb158099c40ecac11c /texinfo/makeinfo | |
parent | 06e23541cd0f111f42a833ee36913f0ab59d76e6 (diff) | |
download | ppe42-gcc-0b2bef9a5443516fa8d08cfc8159df8d7c8ecaef.tar.gz ppe42-gcc-0b2bef9a5443516fa8d08cfc8159df8d7c8ecaef.zip |
* Makefile.in (install, install-info, installdirs, uninstall): Make
these phony targets.
So we don't overwrite a newer version of texinfo that might already be
installed on the system.
* makeinfo/makeinfo.c: Maybe include <stdlib.h> for malloc et al.
* util/install-info.c: Include <string*.h>.
(my_strerror): Use strerror if available.
Avoids alpha bug and redecl of sys_errlist problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'texinfo/makeinfo')
-rw-r--r-- | texinfo/makeinfo/makeinfo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/texinfo/makeinfo/makeinfo.c b/texinfo/makeinfo/makeinfo.c index ee12ef27e71..fddc6d9560c 100644 --- a/texinfo/makeinfo/makeinfo.c +++ b/texinfo/makeinfo/makeinfo.c @@ -1,5 +1,5 @@ /* Makeinfo -- convert texinfo format files into info files. - $Id: makeinfo.c,v 1.37 1996/10/04 18:20:52 karl Exp $ + $Id: makeinfo.c,v 1.1.1.1 1997/08/21 22:58:07 jason Exp $ Copyright (C) 1987, 92, 93, 94, 95, 96 Free Software Foundation, Inc. @@ -79,6 +79,10 @@ int minor_version = 67; #include <perror.h> #endif +#if defined (STDC_HEADERS) +#include <stdlib.h> +#endif + #if defined (HAVE_STRING_H) #include <string.h> #else |