aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xmemdup.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-09 00:11:39 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-09 00:11:39 +0000
commit33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b (patch)
treeee8e93ae75fc7610b15e7223df1fa7001d656673 /libiberty/xmemdup.c
parent9831d6406274d4bfbdf0106976718ac08b472dd9 (diff)
downloadgcc-33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b.zip
gcc-33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b.tar.gz
gcc-33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b.tar.bz2
* xmemdup.c: Include sys/types.h.
From-SVN: r29218
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 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;