summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-29 03:19:56 +0000
committerDJ Delorie <dj@delorie.com>2001-09-29 03:19:56 +0000
commit821e69998dfc56c0643f27fed1e17089229fc542 (patch)
treee34f3f171491a659a600f615fb3d7aa0b57897cc /libiberty
parent971d8fed5a3bc4660a96f0ae7c892eeae0a5a51b (diff)
downloadgdb-821e69998dfc56c0643f27fed1e17089229fc542.tar.gz
merge from gcc
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 d22543065da..f5b268a9c67 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)