[xserver-commit] xfree86/Xi allowev.c,1.1,1.2 chgdctl.c,1.1,1.2 chgfctl.c,1.1,1.2 chgkbd.c,1.1,1.2 chgkmap.c,1.1,1.2 chgprop.c,1.1,1.2 chgptr.c,1.1,1.2 closedev.c,1.1,1.2 devbell.c,1.1,1.2 exevents.c,1.1,1.2 extinit.c,1.1,1.2 getbmap.c,1.1,1.2 getdctl.c,1.1,1.2 getfctl.c,1.1,1.2 getfocus.c,1.1,1.2 getkmap.c,1.1,1.2 getmmap.c,1.1,1.2 getprop.c,1.1,1.2 getselev.c,1.1,1.2 getvers.c,1.1,1.2 grabdev.c,1.1,1.2 grabdevb.c,1.1,1.2 grabdevk.c,1.1,1.2 gtmotion.c,1.1,1.2 listdev.c,1.1,1.2 opendev.c,1.1,1.2 queryst.c,1.1,1.2 selectev.c,1.1,1.2 sendexev.c,1.1,1.2 setbmap.c,1.1,1.2 setdval.c,1.1,1.2 setfocus.c,1.1,1.2 setmmap.c,1.1,1.2 setmode.c,1.1,1.2 stubs.c,1.1,1.2 ungrdev.c,1.1,1.2 ungrdevb.c,1.1,1.2 ungrdevk.c,1.1,1.2

Keith Packard xserver-commit@pdx.freedesktop.org


Committed by: keithp

Update of /cvs/xserver/xfree86/Xi
In directory pdx:/tmp/cvs-serv14744/Xi

Modified Files:
	allowev.c chgdctl.c chgfctl.c chgkbd.c chgkmap.c chgprop.c 
	chgptr.c closedev.c devbell.c exevents.c extinit.c getbmap.c 
	getdctl.c getfctl.c getfocus.c getkmap.c getmmap.c getprop.c 
	getselev.c getvers.c grabdev.c grabdevb.c grabdevk.c 
	gtmotion.c listdev.c opendev.c queryst.c selectev.c sendexev.c 
	setbmap.c setdval.c setfocus.c setmmap.c setmode.c stubs.c 
	ungrdev.c ungrdevb.c ungrdevk.c 
Log Message:
	* Makefile.am
	* *.c
	Ok, everyone gets #include <config.h>
	Other than that, I fixed a few extension header paths and
	whacked at the Makefile.am.  Makefile.am is a hacked version
	of xserver/Makefile.am; expect them to diverge until we can
	stick the xfree86 DDX stuff into the standard Makefile.am.


Index: allowev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/allowev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/allowev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/allowev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgdctl.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgdctl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgdctl.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgdctl.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgfctl.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgfctl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgfctl.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgfctl.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgkbd.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgkbd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgkbd.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgkbd.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgkmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgkmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgkmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgkmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgprop.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgprop.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgprop.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgprop.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: chgptr.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/chgptr.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/chgptr.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/chgptr.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: closedev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/closedev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/closedev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/closedev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: devbell.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/devbell.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/devbell.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/devbell.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: exevents.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/exevents.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/exevents.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/exevents.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -54,6 +54,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>

Index: extinit.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/extinit.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/extinit.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/extinit.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NUMTYPES 15
 
 #define	 NEED_EVENTS

Index: getbmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getbmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getbmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getbmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getdctl.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getdctl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getdctl.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getdctl.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getfctl.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getfctl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getfctl.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getfctl.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getfocus.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getfocus.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getfocus.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getfocus.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getkmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getkmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getkmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getkmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getmmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getmmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getmmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getmmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getprop.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getprop.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getprop.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getprop.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getselev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getselev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getselev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getselev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: getvers.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/getvers.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/getvers.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/getvers.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: grabdev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/grabdev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/grabdev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/grabdev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -54,6 +54,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: grabdevb.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/grabdevb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/grabdevb.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/grabdevb.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: grabdevk.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/grabdevk.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/grabdevk.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/grabdevk.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: gtmotion.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/gtmotion.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/gtmotion.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/gtmotion.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: listdev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/listdev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/listdev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/listdev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: opendev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/opendev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/opendev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/opendev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: queryst.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/queryst.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/queryst.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/queryst.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -34,6 +34,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: selectev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/selectev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/selectev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/selectev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 

Index: sendexev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/sendexev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/sendexev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/sendexev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define EXTENSION_EVENT_BASE  64
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES

Index: setbmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/setbmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/setbmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/setbmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #define IsOn(ptr, bit) \

Index: setdval.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/setdval.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/setdval.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/setdval.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: setfocus.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/setfocus.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/setfocus.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/setfocus.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: setmmap.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/setmmap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/setmmap.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/setmmap.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS			/* for inputstr.h    */
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: setmode.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/setmode.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/setmode.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/setmode.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: stubs.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/stubs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/stubs.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/stubs.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -57,6 +57,9 @@
  * Xnest could do the same thing.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>

Index: ungrdev.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/ungrdev.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/ungrdev.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/ungrdev.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: ungrdevb.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/ungrdevb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/ungrdevb.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/ungrdevb.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */

Index: ungrdevk.c
===================================================================
RCS file: /cvs/xserver/xfree86/Xi/ungrdevk.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/ungrdevk.c	19 Feb 2004 03:50:05 -0000	1.1
+++ b/ungrdevk.c	28 Feb 2004 01:27:37 -0000	1.2
@@ -53,6 +53,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define	 NEED_EVENTS
 #define	 NEED_REPLIES
 #include <X11/X.h>				/* for inputstr.h    */