aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/xmemdup.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 77f42ef..de9309c 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * xmemdup.c: Include sys/types.h.
+
1999-09-07 Jeff Garzik <jgarzik@pobox.com>
* xmemdup.c: New xmemdup function.
diff --git a/libiberty/xmemdup.c b/libiberty/xmemdup.c
index 8e82469..f780041 100644
--- a/libiberty/xmemdup.c
+++ b/libiberty/xmemdup.c
@@ -8,6 +8,8 @@
#include "ansidecl.h"
#include "libiberty.h"
+#include <sys/types.h> /* For size_t. */
+
PTR
xmemdup (input, copy_size, alloc_size)
const PTR input;