From 33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 9 Sep 1999 00:11:39 +0000 Subject: [PATCH] * xmemdup.c: Include sys/types.h. From-SVN: r29218 --- libiberty/ChangeLog | 4 ++++ libiberty/xmemdup.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 77f42efd808..de9309ccb7c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi + + * xmemdup.c: Include sys/types.h. + 1999-09-07 Jeff Garzik * xmemdup.c: New xmemdup function. 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 /* For size_t. */ + PTR xmemdup (input, copy_size, alloc_size) const PTR input; -- 2.30.2