Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'
On Wed, Jun 13, 2012 at 22:22:23 +0200, Robert Millan wrote:
> 2012/6/13 Julien Cristau <jcristau@debian.org>:
> >> On FreeBSD, including <sys/types.h> also gives you <stdint.h>. But
> >> that doesn't apply to GNU systems. This looks like a simple
> >> portability issue.
> >>
> > I'd rather that got fixed in kfreebsd, unless there's a good reason to
> > differ here.
>
> I'm not sure what you mean here. You want <sys/types.h> to define
> uintXX_t? Then you need to request this to Glibc maintainers.
>
Yes, I'd like kfreebsd sys/types.h to look like freebsd sys/types.h.
> Or perhaps you want to emulate a FreeBSD-like build environment,
> regardless of GNU <sys/types.h> behaviour? There's a package
> specifically for this purpose: freebsd-glue.
>
How is one supposed to use that? By passing -I/usr/include/freebsd to
gcc?
Cheers,
Julien
Reply to: