summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-09-28 15:31:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-09-28 15:31:03 +0000
commit576fb787822fe6c80db9228fe52bec206c6be163 (patch)
tree0573a604fe2c49877fb1a53753dd24fcafe6bb41 /libiberty
parent6142088c6cbc5e4c1915cc68ac270c3ec4820d0e (diff)
downloadgcc-576fb787822fe6c80db9228fe52bec206c6be163.tar.gz
* concat.c: Include stdlib.h.
From-SVN: r45861
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/concat.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 33a860ed637..ad3130f0146 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * concat.c: Include stdlib.h.
+
2001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
* libiberty.texi: (Top level): Add syncodeindex pg. Add
diff --git a/libiberty/concat.c b/libiberty/concat.c
index cf026cf8f4c..fbbf2ee41a9 100644
--- a/libiberty/concat.c
+++ b/libiberty/concat.c
@@ -74,6 +74,10 @@ NOTES
# endif
# endif
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
static inline unsigned long vconcat_length PARAMS ((const char *, va_list));
static inline unsigned long
vconcat_length (first, args)