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

maxim@codesourcery.com maxim@codesourcery.com
Sat Oct 20 04:12:00 GMT 2012


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?



More information about the Libc-alpha mailing list