packages/libs/elfutils/patches/004-memcpy_def.patch
florian 40570eada2 [package] add elfutils
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 18:07:38 +00:00

15 lines
338 B
Diff

--- elfutils-0.143/libelf/libelf.h 2009-06-14 00:24:43.000000000 +0200
+++ elfutils-0.143.new/libelf/libelf.h 2010-03-14 20:14:09.000000000 +0100
@@ -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