On 10/09/2015 06:03 PM, Roland McGrath wrote: > Let's drop <sys/types.h> while we're there. Anybody broken by that (unless > I overlooked some use of such a type in libelf.h itself) deserves to be.
That breaks size_t all over the place, so we at least need stddef.h. Then Elf_Arhdr breaks 4 more: time_t, uid_t, gid_t, and mode_t. I think sys/types.h is the right header for those, no?