packages/libs/elfutils/patches/004-memcpy_def.patch
nico aaa0fef171 [packages] elfutils: update to 0.147, use PKG_INSTALL, add MD5SUM, fix URL, cleanup (closes: #7290)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 00:10:56 +00:00

15 lines
236 B
Diff

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