This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

[PATCH] Include <stdint.h> when using SIZE_MAX or SSIZE_MAX.


This patch adds inclusion of <stdint.h> to files that use SIZE_MAX or SSIZE_MAX.

Currently ports get <stdint.h> by a happy accident in these files.  For example MIPS gets stdint.h in time/tzfile.c via elf.h:

In file included from ../elf/elf.h:28:0,
                 from ../include/elf.h:2,
                 from ../ports/sysdeps/mips/stackinfo.h:24,
                 from ../include/alloca.h:4,
                 from ../stdlib/stdlib.h:496,
                 from ../include/stdlib.h:10,
                 from tzfile.c:23:

OK to apply?


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