Bug 83551 - [PATCH] fix tests build on non-Linux OSes
Summary: [PATCH] fix tests build on non-Linux OSes
Status: RESOLVED FIXED
Alias: None
Product: libxkbcommon
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Daniel Stone
QA Contact: Ran Benita
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-06 06:46 UTC by Pino Toscano
Modified: 2014-09-06 08:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Remove <linux/input.h> include from test/x11comp.c (213 bytes, text/plain)
2014-09-06 06:46 UTC, Pino Toscano
Details

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.