projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
[binutils-gdb.git]
/
libiberty
/
xmemdup.c
diff --git
a/libiberty/xmemdup.c
b/libiberty/xmemdup.c
index f780041aa1330837d66fa1004f5619ca46c60afa..fdb17a547f3a9b1ceeb803f5517c578f15fa71bd 100644
(file)
--- a/
libiberty/xmemdup.c
+++ b/
libiberty/xmemdup.c
@@
-9,6
+9,9
@@
#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)