aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-01-29 16:41:48 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-01-29 16:41:48 +0100
commit8c05a74f7efcda6ae5bd83e134edf44af12cb5e4 (patch)
tree6a1df1ec01260dcc97e37539a1dc3b43fd6d0fe7
parentff3f3accc68c84851d1ea8cd995f9491b32bedef (diff)
downloadbusybox-w32-8c05a74f7efcda6ae5bd83e134edf44af12cb5e4.tar.gz
busybox-w32-8c05a74f7efcda6ae5bd83e134edf44af12cb5e4.tar.bz2
busybox-w32-8c05a74f7efcda6ae5bd83e134edf44af12cb5e4.zip
platform.h: mempcpy needs <string.h>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index f00669695..1168a34dc 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -516,6 +516,7 @@ extern char *stpcpy(char *p, const char *to_add) FAST_FUNC;
516#endif 516#endif
517 517
518#ifndef HAVE_MEMPCPY 518#ifndef HAVE_MEMPCPY
519#include <string.h>
519static ALWAYS_INLINE void *mempcpy(void *dest, const void *src, size_t len) 520static ALWAYS_INLINE void *mempcpy(void *dest, const void *src, size_t len)
520{ 521{
521 return memcpy(dest, src, len) + len; 522 return memcpy(dest, src, len) + len;