aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)