This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Include <stdint.h> when using SIZE_MAX or SSIZE_MAX.
- From: <maxim at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 19 Oct 2012 21:11:35 -0700
- Subject: [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?