Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'
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?
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 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).
--
Robert Millan
Reply to: