aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-29 03:19:56 +0000
committerDJ Delorie <dj@redhat.com>2001-09-29 03:19:56 +0000
commit916aaa1251eb953dc9ad6b5a9d1176f6eeae444e (patch)
tree24ad9d9b14e3bd204e145cf69291e1bcae5eabb7 /libiberty
parent6e73fe55608b7ebf6609a4ed988bcacfe29928cc (diff)
downloadgdb-916aaa1251eb953dc9ad6b5a9d1176f6eeae444e.zip
gdb-916aaa1251eb953dc9ad6b5a9d1176f6eeae444e.tar.gz
gdb-916aaa1251eb953dc9ad6b5a9d1176f6eeae444e.tar.bz2
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 d225430..f5b268a 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 cf026cf..fbbf2ee 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)