From: Kaveh R. Ghazi Date: Thu, 9 Sep 1999 00:11:39 +0000 (+0000) Subject: * xmemdup.c: Include sys/types.h. X-Git-Tag: prereleases/libstdc++-2.92~10732 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33c5ddcd3efd965bd9ef6b7287f8d0706bb15a3b;p=thirdparty%2Fgcc.git * xmemdup.c: Include sys/types.h. From-SVN: r29218 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 77f42efd8085..de9309ccb7c9 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 8e82469070c2..f780041aa133 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;