On Fri, 2011-11-11 at 15:33 +1000, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer <[email protected]> > --- > src/XAllowDv.c | 3 +++ > src/XChgDCtl.c | 4 ++++ > src/XChgFCtl.c | 4 ++++ > src/XChgKMap.c | 4 ++++ > src/XChgKbd.c | 4 ++++ > src/XChgPnt.c | 4 ++++ > src/XChgProp.c | 4 ++++ > src/XCloseDev.c | 4 ++++ > src/XDevBell.c | 4 ++++ > src/XExtInt.c | 4 ++++ > src/XExtToWire.c | 4 ++++ > src/XFreeLst.c | 4 ++++ > src/XGMotion.c | 3 +++ > src/XGetBMap.c | 4 ++++ > src/XGetCPtr.c | 3 +++ > src/XGetDCtl.c | 4 ++++ > src/XGetFCtl.c | 4 ++++ > src/XGetKMap.c | 4 ++++ > src/XGetMMap.c | 3 +++ > src/XGetProp.c | 3 +++ > src/XGetVers.c | 4 ++++ > src/XGrDvBut.c | 3 +++ > src/XGrDvKey.c | 3 +++ > src/XGrabDev.c | 3 +++ > src/XGtFocus.c | 3 +++ > src/XGtSelect.c | 3 +++ > src/XIAllowEvents.c | 4 ++++ > src/XIDefineCursor.c | 4 ++++ > src/XIGetDevFocus.c | 3 +++ > src/XIGrabDevice.c | 4 ++++ > src/XIHierarchy.c | 3 +++ > src/XIPassiveGrab.c | 3 +++ > src/XIQueryDevice.c | 4 ++++ > src/XIQueryPointer.c | 3 +++ > src/XIQueryVersion.c | 5 +++++ > src/XISelEv.c | 3 +++ > src/XISetCPtr.c | 3 +++ > src/XISetDevFocus.c | 4 ++++ > src/XIWarpPointer.c | 3 +++ > src/XListDev.c | 3 +++ > src/XOpenDev.c | 3 +++ > src/XQueryDv.c | 3 +++ > src/XSelect.c | 3 +++ > src/XSetBMap.c | 3 +++ > src/XSetDVal.c | 3 +++ > src/XSetMMap.c | 3 +++ > src/XSetMode.c | 3 +++ > src/XSndExEv.c | 3 +++ > src/XStFocus.c | 3 +++ > src/XUngrDev.c | 3 +++ > src/XUngrDvB.c | 3 +++ > src/XUngrDvK.c | 3 +++ > 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 829ea68..9196172 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 5e5ab2d..d987549 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 975c2df..f8eafed 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>
Reviewed-by: Gaetan Nadon <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
