Remove <linux/input.h> include from test/x11comp.c
authorPino Toscano <toscano.pino@tiscali.it>
Sat, 6 Sep 2014 08:05:44 +0000 (11:05 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 6 Sep 2014 08:11:13 +0000 (11:11 +0300)
libxkbcommon 0.4.3 introduces a new test, x11comp, which does not build
on non-Linux OSes because of the unconditional <linux/input.h> include.

This seems not needed even on Linux, so attached there is a simple patch
to remove it.

https://bugs.freedesktop.org/show_bug.cgi?id=83551

Signed-off-by: Ran Benita <ran234@gmail.com>
test/x11comp.c

index c30ed63..bc87a72 100644 (file)
@@ -28,7 +28,6 @@
 #include <signal.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <linux/input.h>
 
 #include "test.h"
 #include "xkbcommon/xkbcommon-x11.h"