[PATCH v2] libelf: Use int64_t for offsets in libelf.h

Josh Stone jistone at redhat.com
Sat Oct 10 01:21:51 UTC 2015


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?


More information about the elfutils-devel mailing list