diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-01 23:52:42 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-01 23:52:42 +0000 |
commit | 756b83dffcb02044c4ca0f5ef05f2a8bbd3c954c (patch) | |
tree | 59e2b5b363d07429a57d7b890f22ca0e2ced7651 | |
parent | 3017da7a110f7c144567bbeb9249357c4a3f0a50 (diff) | |
download | gcc-756b83dffcb02044c4ca0f5ef05f2a8bbd3c954c.tar.gz |
Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
* acconfig.h (libintl.h): Does not include this file here because
it will define `NULL' before the system files have got any chance
to define it.
* intl/explodename.c (stdlib.h): Include this file only if we have it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27300 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | texinfo/ChangeLog | 7 | ||||
-rw-r--r-- | texinfo/acconfig.h | 1 | ||||
-rw-r--r-- | texinfo/intl/explodename.c | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog index 810727a7ad1..232449fdb14 100644 --- a/texinfo/ChangeLog +++ b/texinfo/ChangeLog @@ -1,3 +1,10 @@ +Wed Jun 2 00:47:03 1999 Philippe De Muyter <phdm@macqel.be> + + * acconfig.h (libintl.h): Does not include this file here because + it will define `NULL' before the system files have got any chance + to define it. + * intl/explodename.c (stdlib.h): Include this file only if we have it. + Sun May 30 16:10:06 1999 Richard Henderson <rth@cygnus.com> * config.guess, config.sub: Use toplevel file. diff --git a/texinfo/acconfig.h b/texinfo/acconfig.h index 6c34c33acc2..d5477faedb7 100644 --- a/texinfo/acconfig.h +++ b/texinfo/acconfig.h @@ -40,7 +40,6 @@ @BOTTOM@ /* For gettext (NLS) */ -#include <libintl.h> #define _(String) gettext (String) #define N_(String) (String) diff --git a/texinfo/intl/explodename.c b/texinfo/intl/explodename.c index 37c46e9d7b8..5c4e09ea221 100644 --- a/texinfo/intl/explodename.c +++ b/texinfo/intl/explodename.c @@ -19,7 +19,9 @@ # include <config.h> #endif -#include <stdlib.h> +#if defined STDC_HEADERS || defined _LIBC +# include <stdlib.h> +#endif #include <string.h> #include <sys/types.h> |