aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/004-memcpy_def.patch
blob: 3731592b143c9353dd7d82e5baf075201c1c43e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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