[git commit] platform.h: mempcpy needs <string.h>
Denys Vlasenko
vda.linux at googlemail.com
Thu Jan 29 15:41:48 UTC 2015
commit: http://git.busybox.net/busybox/commit/?id=8c05a74f7efcda6ae5bd83e134edf44af12cb5e4
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
include/platform.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/platform.h b/include/platform.h
index f006696..1168a34 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 <string.h>
static ALWAYS_INLINE void *mempcpy(void *dest, const void *src, size_t len)
{
return memcpy(dest, src, len) + len;
More information about the busybox-cvs
mailing list