summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XAllowDv.c3
-rw-r--r--src/XChgDCtl.c4
-rw-r--r--src/XChgFCtl.c4
-rw-r--r--src/XChgKMap.c4
-rw-r--r--src/XChgKbd.c4
-rw-r--r--src/XChgPnt.c4
-rw-r--r--src/XChgProp.c4
-rw-r--r--src/XCloseDev.c4
-rw-r--r--src/XDevBell.c4
-rw-r--r--src/XExtInt.c4
-rw-r--r--src/XExtToWire.c4
-rw-r--r--src/XFreeLst.c4
-rw-r--r--src/XGMotion.c3
-rw-r--r--src/XGetBMap.c4
-rw-r--r--src/XGetCPtr.c3
-rw-r--r--src/XGetDCtl.c4
-rw-r--r--src/XGetFCtl.c4
-rw-r--r--src/XGetKMap.c4
-rw-r--r--src/XGetMMap.c3
-rw-r--r--src/XGetProp.c3
-rw-r--r--src/XGetVers.c4
-rw-r--r--src/XGrDvBut.c3
-rw-r--r--src/XGrDvKey.c3
-rw-r--r--src/XGrabDev.c3
-rw-r--r--src/XGtFocus.c3
-rw-r--r--src/XGtSelect.c3
-rw-r--r--src/XIAllowEvents.c4
-rw-r--r--src/XIDefineCursor.c4
-rw-r--r--src/XIGetDevFocus.c3
-rw-r--r--src/XIGrabDevice.c4
-rw-r--r--src/XIHierarchy.c3
-rw-r--r--src/XIPassiveGrab.c3
-rw-r--r--src/XIQueryDevice.c4
-rw-r--r--src/XIQueryPointer.c3
-rw-r--r--src/XIQueryVersion.c5
-rw-r--r--src/XISelEv.c3
-rw-r--r--src/XISetCPtr.c3
-rw-r--r--src/XISetDevFocus.c4
-rw-r--r--src/XIWarpPointer.c3
-rw-r--r--src/XListDev.c3
-rw-r--r--src/XOpenDev.c3
-rw-r--r--src/XQueryDv.c3
-rw-r--r--src/XSelect.c3
-rw-r--r--src/XSetBMap.c3
-rw-r--r--src/XSetDVal.c3
-rw-r--r--src/XSetMMap.c3
-rw-r--r--src/XSetMode.c3
-rw-r--r--src/XSndExEv.c3
-rw-r--r--src/XStFocus.c3
-rw-r--r--src/XUngrDev.c3
-rw-r--r--src/XUngrDvB.c3
-rw-r--r--src/XUngrDvK.c3
52 files changed, 179 insertions, 0 deletions
diff --git a/src/XAllowDv.c b/src/XAllowDv.c
index d19443d..ccecead 100644
--- a/src/XAllowDv.c
+++ b/src/XAllowDv.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XAllowDeviceEvents - Thaw a frozen extension device.
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XChgDCtl.c b/src/XChgDCtl.c
index 172cb5e..41354ce 100644
--- a/src/XChgDCtl.c
+++ b/src/XChgDCtl.c
@@ -51,6 +51,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XChgFCtl.c b/src/XChgFCtl.c
index df703a2..d5ec8dc 100644
--- a/src/XChgFCtl.c
+++ b/src/XChgFCtl.c
@@ -51,6 +51,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XChgKMap.c b/src/XChgKMap.c
index e88b71d..df301cb 100644
--- a/src/XChgKMap.c
+++ b/src/XChgKMap.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XChgKbd.c b/src/XChgKbd.c
index ab9a936..3eb46bf 100644
--- a/src/XChgKbd.c
+++ b/src/XChgKbd.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XChgPnt.c b/src/XChgPnt.c
index 9caeabf..4cb9ee1 100644
--- a/src/XChgPnt.c
+++ b/src/XChgPnt.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XChgProp.c b/src/XChgProp.c
index 6d35e06..dfb5186 100644
--- a/src/XChgProp.c
+++ b/src/XChgProp.c
@@ -51,6 +51,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XCloseDev.c b/src/XCloseDev.c
index b5f3dfc..dbf7e50 100644
--- a/src/XCloseDev.c
+++ b/src/XCloseDev.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XDevBell.c b/src/XDevBell.c
index 3792f8a..1fe8297 100644
--- a/src/XDevBell.c
+++ b/src/XDevBell.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 82f5bf3..29ecfa3 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdint.h>
#include <X11/extensions/XI.h>
diff --git a/src/XExtToWire.c b/src/XExtToWire.c
index 674781f..5f84574 100644
--- a/src/XExtToWire.c
+++ b/src/XExtToWire.c
@@ -49,6 +49,10 @@ SOFTWARE.
* XExtToWire.c - reformat an XEvent into a wire event.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XInput.h>
diff --git a/src/XFreeLst.c b/src/XFreeLst.c
index 1b7693f..02cdcf7 100644
--- a/src/XFreeLst.c
+++ b/src/XFreeLst.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
diff --git a/src/XGMotion.c b/src/XGMotion.c
index aee6671..99b1c44 100644
--- a/src/XGMotion.c
+++ b/src/XGMotion.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGetDeviceMotionEvents - Get the motion history of an input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGetBMap.c b/src/XGetBMap.c
index 610795b..211c9ca 100644
--- a/src/XGetBMap.c
+++ b/src/XGetBMap.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XGetCPtr.c b/src/XGetCPtr.c
index 4517b6a..a6a44b7 100644
--- a/src/XGetCPtr.c
+++ b/src/XGetCPtr.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
* XIGetClientPointer - Get the clientPointer setting for a client.
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c
index 729b0a0..c66212d 100644
--- a/src/XGetDCtl.c
+++ b/src/XGetDCtl.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XGetFCtl.c b/src/XGetFCtl.c
index 3d64404..2961034 100644
--- a/src/XGetFCtl.c
+++ b/src/XGetFCtl.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XGetKMap.c b/src/XGetKMap.c
index 4596ff0..9431fbb 100644
--- a/src/XGetKMap.c
+++ b/src/XGetKMap.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XGetMMap.c b/src/XGetMMap.c
index a4bf094..8a1cdb2 100644
--- a/src/XGetMMap.c
+++ b/src/XGetMMap.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGetDeviceModifierMapping - get the modifier map of an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGetProp.c b/src/XGetProp.c
index 7ccf9fe..c5d088b 100644
--- a/src/XGetProp.c
+++ b/src/XGetProp.c
@@ -50,6 +50,9 @@ SOFTWARE.
* window.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGetVers.c b/src/XGetVers.c
index 4718617..0751b98 100644
--- a/src/XGetVers.c
+++ b/src/XGetVers.c
@@ -50,6 +50,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include <X11/Xlibint.h>
diff --git a/src/XGrDvBut.c b/src/XGrDvBut.c
index 264effd..312ff20 100644
--- a/src/XGrDvBut.c
+++ b/src/XGrDvBut.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGrabDeviceBut - Grab a button on an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGrDvKey.c b/src/XGrDvKey.c
index 3c36000..7f6571b 100644
--- a/src/XGrDvKey.c
+++ b/src/XGrDvKey.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGrabDeviceKey - Grab a key on an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGrabDev.c b/src/XGrabDev.c
index 1cba1f6..ce4613e 100644
--- a/src/XGrabDev.c
+++ b/src/XGrabDev.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGrabDevice - grab an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGtFocus.c b/src/XGtFocus.c
index 6b95361..b4c4bd9 100644
--- a/src/XGtFocus.c
+++ b/src/XGtFocus.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGetDeviceFocus - Get the focus of an input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XGtSelect.c b/src/XGtSelect.c
index dea8c4c..f890db7 100644
--- a/src/XGtSelect.c
+++ b/src/XGtSelect.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XGetSelectedExtensionEvents - return a list of currently selected events.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XIAllowEvents.c b/src/XIAllowEvents.c
index 1d388b3..d4da6d0 100644
--- a/src/XIAllowEvents.c
+++ b/src/XIAllowEvents.c
@@ -22,6 +22,10 @@
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIDefineCursor.c b/src/XIDefineCursor.c
index be6dadb..6308945 100644
--- a/src/XIDefineCursor.c
+++ b/src/XIDefineCursor.c
@@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group.
* XIDefineCursor - Change the cursor of an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
#include <X11/Xlibint.h>
diff --git a/src/XIGetDevFocus.c b/src/XIGetDevFocus.c
index 524bf39..172f93e 100644
--- a/src/XIGetDevFocus.c
+++ b/src/XIGetDevFocus.c
@@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/Xlibint.h>
diff --git a/src/XIGrabDevice.c b/src/XIGrabDevice.c
index 94feaee..dd1bd10 100644
--- a/src/XIGrabDevice.c
+++ b/src/XIGrabDevice.c
@@ -22,6 +22,10 @@
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIHierarchy.c b/src/XIHierarchy.c
index 09e6f93..39c3d1b 100644
--- a/src/XIHierarchy.c
+++ b/src/XIHierarchy.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
* XIChangeHierarchy - change the device hierarchy, i.e. which slave
* device is attached to which master, etc.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c
index 34f1bf3..7625521 100644
--- a/src/XIPassiveGrab.c
+++ b/src/XIPassiveGrab.c
@@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/Xlibint.h>
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c
index 66452c2..4be1eca 100644
--- a/src/XIQueryDevice.c
+++ b/src/XIQueryDevice.c
@@ -22,6 +22,10 @@
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIQueryPointer.c b/src/XIQueryPointer.c
index 1a02a5a..6666d1a 100644
--- a/src/XIQueryPointer.c
+++ b/src/XIQueryPointer.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
* XIQueryPointer - Query the pointer of an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIQueryVersion.c b/src/XIQueryVersion.c
index 1e4f9a4..225737f 100644
--- a/src/XIQueryVersion.c
+++ b/src/XIQueryVersion.c
@@ -22,6 +22,11 @@
*
*/
+
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XISelEv.c b/src/XISelEv.c
index 3192b6b..fa7eb54 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -30,6 +30,9 @@ in this Software without prior written authorization from the author.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/Xlibint.h>
diff --git a/src/XISetCPtr.c b/src/XISetCPtr.c
index 4948598..8537d8a 100644
--- a/src/XISetCPtr.c
+++ b/src/XISetCPtr.c
@@ -32,6 +32,9 @@ in this Software without prior written authorization from The Open Group.
* Ideally, the window manager will always send a SetClientPointer request
* before the client interacts with an application.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XISetDevFocus.c b/src/XISetDevFocus.c
index 7090c8f..6208000 100644
--- a/src/XISetDevFocus.c
+++ b/src/XISetDevFocus.c
@@ -22,6 +22,10 @@
*
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XIWarpPointer.c b/src/XIWarpPointer.c
index b150915..426bf3b 100644
--- a/src/XIWarpPointer.c
+++ b/src/XIWarpPointer.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
* XIWarpPointer - Warp the pointer of an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdint.h>
#include <X11/extensions/XI2proto.h>
diff --git a/src/XListDev.c b/src/XListDev.c
index c544ae0..6a16da4 100644
--- a/src/XListDev.c
+++ b/src/XListDev.c
@@ -50,6 +50,9 @@ SOFTWARE.
* available input devices.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XOpenDev.c b/src/XOpenDev.c
index b50d5b0..74f18ac 100644
--- a/src/XOpenDev.c
+++ b/src/XOpenDev.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XOpenDevice - Request the server to open and extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XQueryDv.c b/src/XQueryDv.c
index 637d5cf..24d4e4e 100644
--- a/src/XQueryDv.c
+++ b/src/XQueryDv.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XQueryDeviceState - Query the state of an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSelect.c b/src/XSelect.c
index fb401a6..ec5ba57 100644
--- a/src/XSelect.c
+++ b/src/XSelect.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSelectExtensionEvent - Select input from an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSetBMap.c b/src/XSetBMap.c
index d0a6398..8aea9fb 100644
--- a/src/XSetBMap.c
+++ b/src/XSetBMap.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSetDeviceButtonMapping - Set the button mapping of an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSetDVal.c b/src/XSetDVal.c
index dcbf25e..431887b 100644
--- a/src/XSetDVal.c
+++ b/src/XSetDVal.c
@@ -50,6 +50,9 @@ SOFTWARE.
* device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSetMMap.c b/src/XSetMMap.c
index 11e8859..7361f62 100644
--- a/src/XSetMMap.c
+++ b/src/XSetMMap.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSetDeviceModifierMapping - set the modifier map of an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSetMode.c b/src/XSetMode.c
index b184a33..9204a8e 100644
--- a/src/XSetMode.c
+++ b/src/XSetMode.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSetDeviceMode - Set the mode of an extension input device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XSndExEv.c b/src/XSndExEv.c
index e21f8f7..5c0775f 100644
--- a/src/XSndExEv.c
+++ b/src/XSndExEv.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSendExtensionEvent - send an extension event to a client.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XStFocus.c b/src/XStFocus.c
index 273cd0d..abc0bdc 100644
--- a/src/XStFocus.c
+++ b/src/XStFocus.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XSetDeviceFocus - Set the focus of an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XUngrDev.c b/src/XUngrDev.c
index 7b59ae6..2d12718 100644
--- a/src/XUngrDev.c
+++ b/src/XUngrDev.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XUngrabDevice - Ungrab an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XUngrDvB.c b/src/XUngrDvB.c
index 38267a6..baa12fb 100644
--- a/src/XUngrDvB.c
+++ b/src/XUngrDvB.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XUngrabDeviceButton - Ungrab a button on an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
diff --git a/src/XUngrDvK.c b/src/XUngrDvK.c
index 1a60785..cab45a4 100644
--- a/src/XUngrDvK.c
+++ b/src/XUngrDvK.c
@@ -49,6 +49,9 @@ SOFTWARE.
* XUngrabDeviceKey - Ungrab a key on an extension device.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>