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