diff options
-rw-r--r-- | include/platform.h | 1 |
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> | ||
519 | static ALWAYS_INLINE void *mempcpy(void *dest, const void *src, size_t len) | 520 | static 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; |