Bug 83551

Summary: [PATCH] fix tests build on non-Linux OSes
Product: libxkbcommon Reporter: Pino Toscano <toscano.pino>
Component: GeneralAssignee: Daniel Stone <daniel>
Status: RESOLVED FIXED QA Contact: Ran Benita <ran234>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Remove <linux/input.h> include from test/x11comp.c

Description Pino Toscano 2014-09-06 06:46:54 UTC
Created attachment 105828 [details]
Remove <linux/input.h> include from test/x11comp.c

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.
Comment 1 Ran Benita 2014-09-06 08:40:24 UTC
Thanks for the notice, your patch is applied.

I've also added this related commit:
https://github.com/xkbcommon/libxkbcommon/commit/ba9856290977a07f6c81d7fecd3a3df12717594e

Now (hopefully) all of the `make check` tests should be runnable by the BSDs, Hurd, etc.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.