summaryrefslogtreecommitdiff
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 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)