openwrt/package/libs/elfutils/patches/004-memcpy_def.patch
Luiz Angelo Daros de Luca e2fd98793e elfutils: bump to 0.167
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-03 11:08:02 +01:00

15 lines
265 B
Diff

--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -108,6 +108,11 @@ typedef struct
size_t d_align; /* Alignment in section. */
} Elf_Data;
+#ifndef _LIBC
+#ifndef __mempcpy
+#define __mempcpy mempcpy
+#endif
+#endif
/* Commands for `...'. */
typedef enum