svn commit: r292004 - head/lib/libc/stdio
Bruce Evans
brde at optusnet.com.au
Wed Dec 9 07:24:06 UTC 2015
On Tue, 8 Dec 2015, Garrett Cooper wrote:
> Author: ngie
> ...
>
> Log:
> Fix compilation when -DDEBUG is defined by adding inttypes.h #include
> for intmax_t
Wrong include. intmax_t is declared in <stdint.h>. <inttypes.h> declares
much more and is usually only needed for functions like strtoimax().
<inttypes.h> also declares PRI* and SCN*, but those are only needed in
the garbage.
Bruce
More information about the svn-src-head
mailing list