2012/6/15 Julien Cristau <jcris...@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


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caofdtxmw-cn+rnoocuxzcxf+rq_jigktqz6bbr+p7evojst...@mail.gmail.com

Reply via email to