[package] fix lilo build on 64-bits machine (#6878)
[openwrt/svn-archive/archive.git] / libs / elfutils / patches / 004-memcpy_def.patch
1 --- elfutils-0.143/libelf/libelf.h 2009-06-14 00:24:43.000000000 +0200
2 +++ elfutils-0.143.new/libelf/libelf.h 2010-03-14 20:14:09.000000000 +0100
3 @@ -55,6 +55,11 @@
4 /* Get the ELF types. */
5 #include <elf.h>
6
7 +#ifndef _LIBC
8 +#ifndef __mempcpy
9 +#define __mempcpy mempcpy
10 +#endif
11 +#endif
12
13 /* Known translation types. */
14 typedef enum