From: Denys Vlasenko Date: Thu, 29 Jan 2015 15:41:48 +0000 (+0100) Subject: platform.h: mempcpy needs X-Git-Tag: 1_24_0~214 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c05a74f7efcda6ae5bd83e134edf44af12cb5e4;p=oweals%2Fbusybox.git platform.h: mempcpy needs Signed-off-by: Denys Vlasenko --- 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; #endif #ifndef HAVE_MEMPCPY +#include static ALWAYS_INLINE void *mempcpy(void *dest, const void *src, size_t len) { return memcpy(dest, src, len) + len;