diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog index 810727a7ad1d486f7ee981742be1587b4390e70f..232449fdb147c6c519b8748422d657b3153a14e8 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 6c34c33acc2b7db27eafb4ce3a678f1de79ad175..d5477faedb7201427ed9021005c43cf58f0e27f4 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 37c46e9d7b85073bf95c06eee1fbf9c1b212d7b2..5c4e09ea2213ec5712e937fd3ed70416c5e8def1 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>