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

Cyril Brulebois kibi at debian.org
Thu Nov 11 14:55:55 PST 2010


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



More information about the xorg-devel mailing list