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 <[email protected]> > --- > 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
