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: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 12 Oct 2015 10:43:17 -0700
- Subject: Re: [PATCH v2] libelf: Use int64_t for offsets in libelf.h
> That breaks size_t all over the place, so we at least need stddef.h.
Oh, yeah.
> 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?
Oh, yeah. Forgot about that one entirely. Yeah, <sys/types.h> is fine.
I think it's fine to assume that includes <stdint.h> too, but it's also
certainly fine to include it explicitly.