summaryrefslogtreecommitdiff
path: root/libiberty/xmemdup.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-09 00:11:39 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-09 00:11:39 +0000
commit3a4fff767a0ce5eee25e73f488322b7ae25e4a07 (patch)
treeee8e93ae75fc7610b15e7223df1fa7001d656673 /libiberty/xmemdup.c
parent48902144eb719ed352a07043a9ca9609ad7b4840 (diff)
downloadgcc-3a4fff767a0ce5eee25e73f488322b7ae25e4a07.tar.gz
* xmemdup.c: Include sys/types.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29218 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/xmemdup.c')
-rw-r--r--libiberty/xmemdup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/xmemdup.c b/libiberty/xmemdup.c
index 8e82469070c..f780041aa13 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;