This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH v2] libelf: Use int64_t for offsets in libelf.h
- From: Josh Stone <jistone at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 09 Oct 2015 18:21:51 -0700
- Subject: Re: [PATCH v2] libelf: Use int64_t for offsets in libelf.h
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?