packages/libs/elfutils/patches/004-memcpy_def.patch
florian f86e014492 elfutils: update to 0.155
Based on patch from Vadim A. Misbakh-Soloviov <mva@mva.name>

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 20:29:45 +00:00

15 lines
236 B
Diff

--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -34,6 +34,11 @@
/* Get the ELF types. */
#include <elf.h>
+#ifndef _LIBC
+#ifndef __mempcpy
+#define __mempcpy mempcpy
+#endif
+#endif
/* Known translation types. */
typedef enum