]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
acconfig.h (libintl.h): Does not include this file here because it will define `NULL...
authorPhilippe De Muyter <phdm@macqel.be>
Tue, 1 Jun 1999 23:52:42 +0000 (01:52 +0200)
committerJeff Law <law@gcc.gnu.org>
Tue, 1 Jun 1999 23:52:42 +0000 (17:52 -0600)
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.

From-SVN: r27300

texinfo/ChangeLog
texinfo/acconfig.h
texinfo/intl/explodename.c

index 810727a7ad1d486f7ee981742be1587b4390e70f..232449fdb147c6c519b8748422d657b3153a14e8 100644 (file)
@@ -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.
index 6c34c33acc2b7db27eafb4ce3a678f1de79ad175..d5477faedb7201427ed9021005c43cf58f0e27f4 100644 (file)
@@ -40,7 +40,6 @@
 @BOTTOM@
 
 /* For gettext (NLS) */
-#include <libintl.h>
 #define _(String) gettext (String)
 #define N_(String) (String)
 
index 37c46e9d7b85073bf95c06eee1fbf9c1b212d7b2..5c4e09ea2213ec5712e937fd3ed70416c5e8def1 100644 (file)
@@ -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>