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

Kristian Høgsberg krh at bitplanet.net
Sat Jan 29 11:13:18 PST 2011


On Sat, Jan 29, 2011 at 8:24 AM, Cyril Brulebois <kibi at debian.org> 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>

Yes, thanks, applied.

Kristian

>  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>
>
> --
> 1.7.2.3
>
>


More information about the xorg-devel mailing list