[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'



On Wed, Jun 13, 2012 at 22:10:08 +0200, Robert Millan wrote:

> 2012/6/13 Steven Chamberlain <steven@pyro.eu.org>:
> > My other guess would be this, which also works;  would appreciate advice
> > from others on debian-bsd@ though:
> 
> It's basically up to libdrm-dev maintainers.  Do they expect that
> stdint.h is a prerequisite before including drm.h?
> 
No.

> 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 think the best solution is to include <stdint.h> from drm.h.
> <stdint.h> is the only header that garantees uintXX_t types (as per
> POSIX).
> 
Cheers,
Julien


Reply to: