aboutsummaryrefslogtreecommitdiff
path: root/texinfo
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>1999-06-02 01:52:42 +0200
committerJeff Law <law@gcc.gnu.org>1999-06-01 17:52:42 -0600
commit2f9929812a5a4a5594b7b41e19868e3300758504 (patch)
tree59e2b5b363d07429a57d7b890f22ca0e2ced7651 /texinfo
parent187fd695737379f399ecd113d669e159c809bd6a (diff)
downloadgcc-2f9929812a5a4a5594b7b41e19868e3300758504.zip
gcc-2f9929812a5a4a5594b7b41e19868e3300758504.tar.gz
gcc-2f9929812a5a4a5594b7b41e19868e3300758504.tar.bz2
acconfig.h (libintl.h): Does not include this file here because it will define `NULL' before the system...
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
Diffstat (limited to 'texinfo')
-rw-r--r--texinfo/ChangeLog7
-rw-r--r--texinfo/acconfig.h1
-rw-r--r--texinfo/intl/explodename.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog
index 810727a..232449f 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 6c34c33..d5477fa 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 37c46e9..5c4e09e 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>