projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3f3ac
)
platform.h: mempcpy needs <string.h>
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 29 Jan 2015 15:41:48 +0000
(16:41 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 29 Jan 2015 15:41:48 +0000
(16:41 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index f006696951a237e67c3c258d1c1777e6e303eae9..1168a34dc3a2d19302ea8fd8ec025da563257a2d 100644
(file)
--- 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;