[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'

2012/6/15 Julien Cristau <jcristau@debian.org>:
>> > drm.h is a kernel header.  It includes other kernel headers;
>> > <linux/types.h> on linux, <sys/types.h> on bsd.
>> Are we talking about the same file?  I was referring to
>> /usr/include/libdrm/drm.h.
> Yes.

Then you definitely don't want to be including <sys/types.h> as that's
a userland header in all Debian platforms.

If you want the kernel version of that header, it's in
<sys/kern/types.h>.  For this particular problem, I wouldn't recommend
it since uintXX_t assumption is clearly buggy, but it's your choice.

Robert Millan

Reply to: