aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/memcpy.c')
-rw-r--r--newlib/libc/string/memcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c
index 5336f25..5a09ec4 100644
--- a/newlib/libc/string/memcpy.c
+++ b/newlib/libc/string/memcpy.c
@@ -7,6 +7,7 @@ ANSI_SYNOPSIS
void* memcpy(void *<[out]>, const void *<[in]>, size_t <[n]>);
TRAD_SYNOPSIS
+ #include <string.h>
void *memcpy(<[out]>, <[in]>, <[n]>
void *<[out]>;
void *<[in]>;
@@ -33,8 +34,7 @@ QUICKREF
*/
#include <_ansi.h>
-#include <stddef.h>
-#include <limits.h>
+#include <string.h>
/* Nonzero if either X or Y is not aligned on a "long" boundary. */
#define UNALIGNED(X, Y) \