* xmemdup.c: Include sys/types.h.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 9 Sep 1999 00:11:39 +0000 (00:11 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 9 Sep 1999 00:11:39 +0000 (00:11 +0000)
From-SVN: r29218

libiberty/ChangeLog
libiberty/xmemdup.c

index 77f42efd8085fbcb6b389d603c4e2dd551b06056..de9309ccb7c9219608693c888f0752a44f3158c4 100644 (file)
@@ -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.
index 8e82469070c2391d723690a21402c07c8f0b98d4..f780041aa1330837d66fa1004f5619ca46c60afa 100644 (file)
@@ -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;