add chaos_calmer branch
[15.05/openwrt.git] / package / libs / elfutils / patches / 004-memcpy_def.patch
1 --- a/libelf/libelf.h
2 +++ b/libelf/libelf.h
3 @@ -34,6 +34,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