diff options
Diffstat (limited to 'package/libs/elfutils/patches/004-memcpy_def.patch')
-rw-r--r-- | package/libs/elfutils/patches/004-memcpy_def.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libs/elfutils/patches/004-memcpy_def.patch b/package/libs/elfutils/patches/004-memcpy_def.patch new file mode 100644 index 0000000000..62e4d0ca93 --- /dev/null +++ b/package/libs/elfutils/patches/004-memcpy_def.patch @@ -0,0 +1,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 |