OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Makefile.in (local-distclean): Remove leftover built files.
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
xmemdup.c
diff --git
a/libiberty/xmemdup.c
b/libiberty/xmemdup.c
index
8e82469
..
fdb17a5
100644
(file)
--- a/
libiberty/xmemdup.c
+++ b/
libiberty/xmemdup.c
@@
-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;