OSDN Git Service

* Makefile.in (local-distclean): Remove leftover built files.
[pf3gnuchains/gcc-fork.git] / libiberty / xmemdup.c
index 8e82469..fdb17a5 100644 (file)
@@ -8,6 +8,11 @@
 #include "ansidecl.h"
 #include "libiberty.h"
 
+#include <sys/types.h> /* For size_t. */
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
 PTR
 xmemdup (input, copy_size, alloc_size)
   const PTR input;