https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65806
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's fixed in NetBSD 7: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/stdint.h?rev=1.7&content-type=text/x-cvsweb-markup&only_with_tag=MAIN