[PATCH libxkbcommon] Get rid of unneeded <X11/Xlib.h> include.

Gaetan Nadon memsize at videotron.ca
Sat Jan 29 06:17:33 PST 2011


On Sat, 2011-01-29 at 14:24 +0100, Cyril Brulebois wrote:

> There's no need for this xlib include:
> |   YACC   xkbparse.c
> |   CC     xkbparse.lo
> | xkbparse.y:98:22: error: X11/Xlib.h: No such file or directory
> 
> Signed-off-by: Cyril Brulebois <kibi at debian.org>
> ---
>  src/xkbcomp/xkbparse.y |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/src/xkbcomp/xkbparse.y b/src/xkbcomp/xkbparse.y
> index ab21681..5142261 100644
> --- a/src/xkbcomp/xkbparse.y
> +++ b/src/xkbcomp/xkbparse.y
> @@ -95,7 +95,6 @@
>  #endif
>  #include "parseutils.h"
>  #include "xkbmisc.h"
> -#include <X11/Xlib.h>
>  #include <X11/keysym.h>
>  #include <stdlib.h>
>  

Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110129/bf82142d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110129/bf82142d/attachment.pgp>


More information about the xorg-devel mailing list