commit | 8c05a74f7efcda6ae5bd83e134edf44af12cb5e4 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Jan 29 16:41:48 2015 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Jan 29 16:41:48 2015 +0100 |
tree | 6a1df1ec01260dcc97e37539a1dc3b43fd6d0fe7 | |
parent | ff3f3accc68c84851d1ea8cd995f9491b32bedef [diff] |
platform.h: mempcpy needs <string.h> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@ #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;