aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/004-memcpy_def.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/elfutils/patches/004-memcpy_def.patch')
-rw-r--r--package/libs/elfutils/patches/004-memcpy_def.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/elfutils/patches/004-memcpy_def.patch b/package/libs/elfutils/patches/004-memcpy_def.patch
index 0b030bed5d..3731592b14 100644
--- a/package/libs/elfutils/patches/004-memcpy_def.patch
+++ b/package/libs/elfutils/patches/004-memcpy_def.patch
@@ -1,8 +1,8 @@
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
-@@ -35,6 +35,11 @@
- /* Get the ELF types. */
- #include <elf.h>
+@@ -108,6 +108,11 @@ typedef struct
+ size_t d_align; /* Alignment in section. */
+ } Elf_Data;
+#ifndef _LIBC
+#ifndef __mempcpy
@@ -10,5 +10,5 @@
+#endif
+#endif
- /* Known translation types. */
+ /* Commands for `...'. */
typedef enum