[PATCH] test: Fix missing xkbsrv.h include.

Peter Hutterer peter.hutterer at who-t.net
Thu Nov 11 15:08:46 PST 2010


On Thu, Nov 11, 2010 at 11:55:55PM +0100, Cyril Brulebois wrote:
> Otherwise, building fails with CFLAGS="-Wall -Werror" this way:
> | protocol-common.c: In function ‘init_simple’:
> | protocol-common.c:159: error: implicit declaration of function ‘XkbInitPrivates’
> | protocol-common.c:159: error: nested extern declaration of ‘XkbInitPrivates’
> 
> Signed-off-by: Cyril Brulebois <kibi at debian.org>
> ---
>  test/xi2/protocol-common.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
> index 50f2b86..10d82a5 100644
> --- a/test/xi2/protocol-common.c
> +++ b/test/xi2/protocol-common.c
> @@ -28,6 +28,7 @@
>  #include <stdint.h>
>  #include "extinit.h" /* for XInputExtensionInit */
>  #include "exglobals.h"
> +#include "xkbsrv.h" /* for XkbInitPrivates */
>  #include <glib.h>
>  
>  #include "protocol-common.h"
> -- 
> 1.7.2.3

merged, thanks.
 
Cheers,
  Peter


More information about the xorg-devel mailing list