Re: [PATCH] Fix building on Solaris (and don't break Cygwin)

From: H. Peter Anvin
Date: Sun Jul 11 2004 - 15:22:56 EST


Followup to: <20040709211605.GA6126@xxxxxxxxxxxxx>
By author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> On Fri, Jul 09, 2004 at 02:00:11PM -0700, Tom Rini wrote:
> > The following is from Jean-Christophe Dubois <jdubois@xxxxxx>. On
> > Solaris 2.8, <stdint.h> does not exist, but <inttypes.h> does. However,
> > on cygwin (the other odd place that the kernel is compiled on)
> > <inttypes.h> doesn't exist. So we end up with something like the
> > following.
> > Signed-off-by: Tom Rini <trini@xxxxxxxxxxxxxxxxxxx>
>
> Yikes. <stdint.h> is mandated by C99, please complain to sun instead or
> write up the header yourself - it's not that difficult anyway.
>

<inttypes.h> is also mandated by C99, and is a more complete header
(it includes stdint.h).

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/