openwrt-owl/package/libs/elfutils/patches/004-memcpy_def.patch

15 lines
236 B
Diff

--- 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