[PATCH] xf86: Fix build against recent Linux kernel

Thierry Reding thierry.reding at avionic-design.de
Mon Oct 15 22:44:59 PDT 2012


On Mon, Oct 15, 2012 at 08:33:59PM +0200, Julien Cristau wrote:
> On Mon, Oct 15, 2012 at 19:36:58 +0200, Thierry Reding wrote:
> 
> > Recent Linux kernels reworked the linux/input.h header file, which is
> > now part of the "user-space API" and the include guard has an additional
> > _UAPI prefix.
> > 
> Any way we can avoid depending on their header guard?

I was thinking about the same thing, and realized that unconditionally
#undef'ing may work just as well.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20121016/aa814fe4/attachment.pgp>


More information about the xorg-devel mailing list