[PATCH] libelf: remove usage of sys/cdefs

2020-04-05 Thread Rosen Penev via Elfutils-devel
sys/cdefs is a deprecated glibc header that is unavailable with other libc implementations such as musl. features.h under glibc includes sys/cdefs whereas it does not under musl. Signed-off-by: Rosen Penev --- lib/fixedsizehash.h | 1 - libelf/elf.h| 10 ++ 2 files changed, 6 i

Re: [PATCH] libelf: remove usage of sys/cdefs

2020-04-05 Thread Mark Wielaard
Hi, Thanks for the patch, but elf.h comes from glibc. So please get your fix accepted upstream (sent it to libc-al...@sourceware.org) and we'll pick it up next time we sync with the glibc code. Thanks, Mark

Re: [PATCH] libelf: remove usage of sys/cdefs

2020-04-05 Thread Rosen Penev via Elfutils-devel
On Sun, Apr 5, 2020 at 4:39 PM Mark Wielaard wrote: > > Hi, > > Thanks for the patch, but elf.h comes from glibc. So please get your > fix accepted upstream (sent it to libc-al...@sourceware.org) and we'll > pick it up next time we sync with the glibc code. Hrm OK. > > Thanks, > > Mark