This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]