OSDN Git Service

Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jun 1999 23:52:42 +0000 (23:52 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jun 1999 23:52:42 +0000 (23:52 +0000)
* 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

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

index 810727a..232449f 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 6c34c33..d5477fa 100644 (file)
@@ -40,7 +40,6 @@
 @BOTTOM@
 
 /* For gettext (NLS) */
-#include <libintl.h>
 #define _(String) gettext (String)
 #define N_(String) (String)
 
index 37c46e9..5c4e09e 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>