aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/004-memcpy_def.patch
blob: 0b030bed5d5effde0f4bcfb6261f431bf52ff609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -35,6 +35,11 @@
 /* Get the ELF types.  */
 #include <elf.h>
 
+#ifndef _LIBC
+#ifndef __mempcpy
+#define __mempcpy mempcpy
+#endif
+#endif
 
 /* Known translation types.  */
 typedef enum