f86e014492
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
15 lines
236 B
Diff
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
|