summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-05-13 22:53:36 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-05-13 22:53:36 +0000
commit7eee605e3aeed549d1053325a03027c5e8cbf71b (patch)
tree3cea3cc392af388deb1b7ded8b50889008ca2a6f /src
parent6769ccda88caf27d1441d335ef2b318a047a612b (diff)
- For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>XORG-6_8_99_7
- For Xcomposite and Xdamage, don't link the build system out of the xc tree - Link the public X11 headers into their own directory - Add links to XKeysymDB and XErrorDB - Add links to all the Xlib man pages - Add links to the lcUniConv subdirectory - Conditionally include config.h in Xlib source
Diffstat (limited to 'src')
-rw-r--r--src/AllCells.c3
-rw-r--r--src/AllPlanes.c3
-rw-r--r--src/AllowEv.c3
-rw-r--r--src/AutoRep.c3
-rw-r--r--src/Backgnd.c3
-rw-r--r--src/BdrWidth.c3
-rw-r--r--src/Bell.c3
-rw-r--r--src/Border.c3
-rw-r--r--src/ChAccCon.c3
-rw-r--r--src/ChActPGb.c3
-rw-r--r--src/ChClMode.c3
-rw-r--r--src/ChCmap.c3
-rw-r--r--src/ChGC.c3
-rw-r--r--src/ChKeyCon.c3
-rw-r--r--src/ChPntCon.c3
-rw-r--r--src/ChProp.c3
-rw-r--r--src/ChSaveSet.c3
-rw-r--r--src/ChWAttrs.c3
-rw-r--r--src/ChWindow.c3
-rw-r--r--src/ChkIfEv.c3
-rw-r--r--src/ChkMaskEv.c3
-rw-r--r--src/ChkTypEv.c3
-rw-r--r--src/ChkTypWEv.c3
-rw-r--r--src/ChkWinEv.c3
-rw-r--r--src/CirWin.c3
-rw-r--r--src/CirWinDn.c3
-rw-r--r--src/CirWinUp.c3
-rw-r--r--src/ClDisplay.c3
-rw-r--r--src/Clear.c3
-rw-r--r--src/ClearArea.c3
-rw-r--r--src/ConfWind.c3
-rw-r--r--src/ConnDis.c5
-rw-r--r--src/Context.c3
-rw-r--r--src/ConvSel.c3
-rw-r--r--src/CopyArea.c3
-rw-r--r--src/CopyCmap.c3
-rw-r--r--src/CopyGC.c3
-rw-r--r--src/CopyPlane.c3
-rw-r--r--src/CrBFData.c3
-rw-r--r--src/CrCmap.c3
-rw-r--r--src/CrCursor.c3
-rw-r--r--src/CrGC.c3
-rw-r--r--src/CrGlCur.c3
-rw-r--r--src/CrPFBData.c3
-rw-r--r--src/CrPixmap.c3
-rw-r--r--src/CrWindow.c3
-rw-r--r--src/Cursor.c3
-rw-r--r--src/DefCursor.c3
-rw-r--r--src/DelProp.c3
-rw-r--r--src/Depths.c3
-rw-r--r--src/DestSubs.c3
-rw-r--r--src/DestWind.c3
-rw-r--r--src/DisName.c3
-rw-r--r--src/DrArc.c3
-rw-r--r--src/DrArcs.c3
-rw-r--r--src/DrLine.c3
-rw-r--r--src/DrLines.c3
-rw-r--r--src/DrPoint.c3
-rw-r--r--src/DrPoints.c3
-rw-r--r--src/DrRect.c3
-rw-r--r--src/DrRects.c3
-rw-r--r--src/DrSegs.c3
-rw-r--r--src/ErrDes.c5
-rw-r--r--src/ErrHndlr.c3
-rw-r--r--src/EvToWire.c3
-rw-r--r--src/FSSaver.c3
-rw-r--r--src/FSWrap.c3
-rw-r--r--src/FetchName.c3
-rw-r--r--src/FillArc.c3
-rw-r--r--src/FillArcs.c3
-rw-r--r--src/FillPoly.c3
-rw-r--r--src/FillRct.c3
-rw-r--r--src/FillRcts.c3
-rw-r--r--src/FilterEv.c3
-rw-r--r--src/Flush.c3
-rw-r--r--src/Font.c3
-rw-r--r--src/FontInfo.c3
-rw-r--r--src/FontNames.c3
-rw-r--r--src/FreeCmap.c3
-rw-r--r--src/FreeCols.c3
-rw-r--r--src/FreeCurs.c3
-rw-r--r--src/FreeEData.c3
-rw-r--r--src/FreeGC.c3
-rw-r--r--src/FreePix.c3
-rw-r--r--src/GCMisc.c3
-rw-r--r--src/Geom.c3
-rw-r--r--src/GetAtomNm.c3
-rw-r--r--src/GetColor.c3
-rw-r--r--src/GetDflt.c3
-rw-r--r--src/GetFPath.c3
-rw-r--r--src/GetFProp.c3
-rw-r--r--src/GetGCVals.c3
-rw-r--r--src/GetGeom.c3
-rw-r--r--src/GetHColor.c3
-rw-r--r--src/GetHints.c3
-rw-r--r--src/GetIFocus.c3
-rw-r--r--src/GetImage.c3
-rw-r--r--src/GetKCnt.c3
-rw-r--r--src/GetMoEv.c3
-rw-r--r--src/GetNrmHint.c3
-rw-r--r--src/GetPCnt.c3
-rw-r--r--src/GetPntMap.c3
-rw-r--r--src/GetProp.c3
-rw-r--r--src/GetRGBCMap.c3
-rw-r--r--src/GetSOwner.c3
-rw-r--r--src/GetSSaver.c3
-rw-r--r--src/GetStCmap.c3
-rw-r--r--src/GetTxtProp.c3
-rw-r--r--src/GetWAttrs.c3
-rw-r--r--src/GetWMCMapW.c3
-rw-r--r--src/GetWMProto.c3
-rw-r--r--src/GrButton.c3
-rw-r--r--src/GrKey.c3
-rw-r--r--src/GrKeybd.c3
-rw-r--r--src/GrPointer.c3
-rw-r--r--src/GrServer.c3
-rw-r--r--src/Host.c5
-rw-r--r--src/Iconify.c3
-rw-r--r--src/IfEvent.c3
-rw-r--r--src/ImText.c3
-rw-r--r--src/ImText16.c3
-rw-r--r--src/ImUtil.c3
-rw-r--r--src/InitExt.c3
-rw-r--r--src/InsCmap.c3
-rw-r--r--src/IntAtom.c3
-rw-r--r--src/KeyBind.c3
-rw-r--r--src/KeysymStr.c3
-rw-r--r--src/KillCl.c3
-rw-r--r--src/LiHosts.c5
-rw-r--r--src/LiICmaps.c3
-rw-r--r--src/LiProps.c3
-rw-r--r--src/ListExt.c3
-rw-r--r--src/LoadFont.c3
-rw-r--r--src/LockDis.c3
-rw-r--r--src/LookupCol.c3
-rw-r--r--src/LowerWin.c3
-rw-r--r--src/Macros.c3
-rw-r--r--src/Makefile.am548
-rw-r--r--src/MapRaised.c3
-rw-r--r--src/MapSubs.c3
-rw-r--r--src/MapWindow.c3
-rw-r--r--src/MaskEvent.c3
-rw-r--r--src/Misc.c3
-rw-r--r--src/ModMap.c3
-rw-r--r--src/MoveWin.c3
-rw-r--r--src/NextEvent.c3
-rw-r--r--src/OCWrap.c3
-rw-r--r--src/OMWrap.c3
-rw-r--r--src/OpenDis.c3
-rw-r--r--src/ParseCmd.c3
-rw-r--r--src/ParseCol.c3
-rw-r--r--src/ParseGeom.c3
-rw-r--r--src/PeekEvent.c3
-rw-r--r--src/PeekIfEv.c3
-rw-r--r--src/Pending.c3
-rw-r--r--src/PixFormats.c3
-rw-r--r--src/PmapBgnd.c3
-rw-r--r--src/PmapBord.c3
-rw-r--r--src/PolyReg.c3
-rw-r--r--src/PolyTxt.c3
-rw-r--r--src/PolyTxt16.c3
-rw-r--r--src/PropAlloc.c3
-rw-r--r--src/PutBEvent.c3
-rw-r--r--src/PutImage.c3
-rw-r--r--src/QuBest.c3
-rw-r--r--src/QuColor.c3
-rw-r--r--src/QuColors.c3
-rw-r--r--src/QuCurShp.c3
-rw-r--r--src/QuExt.c3
-rw-r--r--src/QuKeybd.c3
-rw-r--r--src/QuPntr.c3
-rw-r--r--src/QuStipShp.c3
-rw-r--r--src/QuTextE16.c3
-rw-r--r--src/QuTextExt.c3
-rw-r--r--src/QuTileShp.c3
-rw-r--r--src/QuTree.c3
-rw-r--r--src/Quarks.c3
-rw-r--r--src/RaiseWin.c3
-rw-r--r--src/RdBitF.c3
-rw-r--r--src/RecolorC.c3
-rw-r--r--src/ReconfWM.c3
-rw-r--r--src/ReconfWin.c3
-rw-r--r--src/Region.c3
-rw-r--r--src/RegstFlt.c3
-rw-r--r--src/RepWindow.c3
-rw-r--r--src/RestackWs.c3
-rw-r--r--src/RotProp.c3
-rw-r--r--src/ScrResStr.c3
-rw-r--r--src/SelInput.c3
-rw-r--r--src/SendEvent.c3
-rw-r--r--src/SetBack.c3
-rw-r--r--src/SetCRects.c3
-rw-r--r--src/SetClMask.c3
-rw-r--r--src/SetClOrig.c3
-rw-r--r--src/SetDashes.c3
-rw-r--r--src/SetFPath.c3
-rw-r--r--src/SetFont.c3
-rw-r--r--src/SetFore.c3
-rw-r--r--src/SetFunc.c3
-rw-r--r--src/SetHints.c3
-rw-r--r--src/SetIFocus.c3
-rw-r--r--src/SetLStyle.c3
-rw-r--r--src/SetLocale.c5
-rw-r--r--src/SetNrmHint.c3
-rw-r--r--src/SetPMask.c3
-rw-r--r--src/SetPntMap.c3
-rw-r--r--src/SetRGBCMap.c3
-rw-r--r--src/SetSOwner.c3
-rw-r--r--src/SetSSaver.c3
-rw-r--r--src/SetStCmap.c3
-rw-r--r--src/SetState.c3
-rw-r--r--src/SetStip.c3
-rw-r--r--src/SetTSOrig.c3
-rw-r--r--src/SetTile.c3
-rw-r--r--src/SetTxtProp.c3
-rw-r--r--src/SetWMCMapW.c3
-rw-r--r--src/SetWMProto.c3
-rw-r--r--src/StBytes.c3
-rw-r--r--src/StColor.c3
-rw-r--r--src/StColors.c3
-rw-r--r--src/StNColor.c3
-rw-r--r--src/StName.c3
-rw-r--r--src/StrKeysym.c3
-rw-r--r--src/StrToText.c3
-rw-r--r--src/Sync.c3
-rw-r--r--src/Synchro.c3
-rw-r--r--src/Text.c3
-rw-r--r--src/Text16.c3
-rw-r--r--src/TextExt.c3
-rw-r--r--src/TextExt16.c3
-rw-r--r--src/TextToStr.c3
-rw-r--r--src/TrCoords.c3
-rw-r--r--src/UIThrStubs.c3
-rw-r--r--src/UndefCurs.c3
-rw-r--r--src/UngrabBut.c3
-rw-r--r--src/UngrabKbd.c3
-rw-r--r--src/UngrabKey.c3
-rw-r--r--src/UngrabPtr.c3
-rw-r--r--src/UngrabSvr.c3
-rw-r--r--src/UninsCmap.c3
-rw-r--r--src/UnldFont.c3
-rw-r--r--src/UnmapSubs.c3
-rw-r--r--src/UnmapWin.c3
-rw-r--r--src/VisUtil.c3
-rw-r--r--src/WMGeom.c3
-rw-r--r--src/WMProps.c3
-rw-r--r--src/WarpPtr.c3
-rw-r--r--src/WinEvent.c3
-rw-r--r--src/Window.c3
-rw-r--r--src/Withdraw.c3
-rw-r--r--src/WrBitF.c3
-rw-r--r--src/XlibAsync.c3
-rw-r--r--src/XlibInt.c3
-rw-r--r--src/Xrm.c3
-rw-r--r--src/bigreqstr.h1
-rw-r--r--src/evtomask.c3
-rw-r--r--src/globals.c3
-rw-r--r--src/imConv.c3
-rw-r--r--src/locking.c3
-rw-r--r--src/os2Stubs.c3
-rw-r--r--src/udcInf.c3
-rw-r--r--src/util/Makefile.am6
-rw-r--r--src/x11_trans.c32
-rw-r--r--src/xcms/AddDIC.c3
-rw-r--r--src/xcms/AddSF.c3
-rw-r--r--src/xcms/CCC.c3
-rw-r--r--src/xcms/CvColW.c3
-rw-r--r--src/xcms/CvCols.c3
-rw-r--r--src/xcms/HVC.c5
-rw-r--r--src/xcms/HVCGcC.c3
-rw-r--r--src/xcms/HVCGcV.c3
-rw-r--r--src/xcms/HVCGcVC.c3
-rw-r--r--src/xcms/HVCMnV.c3
-rw-r--r--src/xcms/HVCMxC.c3
-rw-r--r--src/xcms/HVCMxV.c3
-rw-r--r--src/xcms/HVCMxVC.c3
-rw-r--r--src/xcms/HVCMxVs.c3
-rw-r--r--src/xcms/HVCWpAj.c3
-rw-r--r--src/xcms/IdOfPr.c3
-rw-r--r--src/xcms/LRGB.c3
-rw-r--r--src/xcms/Lab.c3
-rw-r--r--src/xcms/LabGcC.c3
-rw-r--r--src/xcms/LabGcL.c3
-rw-r--r--src/xcms/LabGcLC.c3
-rw-r--r--src/xcms/LabMnL.c3
-rw-r--r--src/xcms/LabMxC.c3
-rw-r--r--src/xcms/LabMxL.c3
-rw-r--r--src/xcms/LabMxLC.c3
-rw-r--r--src/xcms/LabWpAj.c3
-rw-r--r--src/xcms/Luv.c3
-rw-r--r--src/xcms/LuvGcC.c3
-rw-r--r--src/xcms/LuvGcL.c3
-rw-r--r--src/xcms/LuvGcLC.c3
-rw-r--r--src/xcms/LuvMnL.c3
-rw-r--r--src/xcms/LuvMxC.c3
-rw-r--r--src/xcms/LuvMxL.c3
-rw-r--r--src/xcms/LuvMxLC.c3
-rw-r--r--src/xcms/LuvWpAj.c3
-rw-r--r--src/xcms/OfCCC.c3
-rw-r--r--src/xcms/PrOfId.c3
-rw-r--r--src/xcms/QBlack.c3
-rw-r--r--src/xcms/QBlue.c3
-rw-r--r--src/xcms/QGreen.c3
-rw-r--r--src/xcms/QRed.c3
-rw-r--r--src/xcms/QWhite.c3
-rw-r--r--src/xcms/QuCol.c3
-rw-r--r--src/xcms/QuCols.c3
-rw-r--r--src/xcms/SetCCC.c3
-rw-r--r--src/xcms/SetGetCols.c3
-rw-r--r--src/xcms/StCol.c3
-rw-r--r--src/xcms/StCols.c3
-rw-r--r--src/xcms/UNDEFINED.c3
-rw-r--r--src/xcms/XRGB.c3
-rw-r--r--src/xcms/XYZ.c3
-rw-r--r--src/xcms/cmsAllCol.c3
-rw-r--r--src/xcms/cmsAllNCol.c3
-rw-r--r--src/xcms/cmsCmap.c3
-rw-r--r--src/xcms/cmsColNm.c5
-rw-r--r--src/xcms/cmsGlobls.c3
-rw-r--r--src/xcms/cmsInt.c3
-rw-r--r--src/xcms/cmsLkCol.c3
-rw-r--r--src/xcms/cmsMath.c3
-rw-r--r--src/xcms/cmsProp.c3
-rw-r--r--src/xcms/cmsTrig.c3
-rw-r--r--src/xcms/uvY.c3
-rw-r--r--src/xcms/xyY.c3
-rw-r--r--src/xim_trans.c28
-rw-r--r--src/xkb/XKB.c3
-rw-r--r--src/xkb/XKBAlloc.c3
-rw-r--r--src/xkb/XKBBell.c3
-rw-r--r--src/xkb/XKBBind.c3
-rw-r--r--src/xkb/XKBCompat.c3
-rw-r--r--src/xkb/XKBCtrls.c3
-rw-r--r--src/xkb/XKBCvt.c3
-rw-r--r--src/xkb/XKBExtDev.c3
-rw-r--r--src/xkb/XKBGAlloc.c3
-rw-r--r--src/xkb/XKBGeom.c3
-rw-r--r--src/xkb/XKBGetByName.c3
-rw-r--r--src/xkb/XKBGetMap.c3
-rw-r--r--src/xkb/XKBList.c3
-rw-r--r--src/xkb/XKBMAlloc.c3
-rw-r--r--src/xkb/XKBMisc.c3
-rw-r--r--src/xkb/XKBNames.c3
-rw-r--r--src/xkb/XKBRdBuf.c3
-rw-r--r--src/xkb/XKBSetGeom.c5
-rw-r--r--src/xkb/XKBSetMap.c3
-rw-r--r--src/xkb/XKBUse.c3
-rw-r--r--src/xkb/XKBleds.c3
-rw-r--r--src/xlibi18n/ICWrap.c3
-rw-r--r--src/xlibi18n/IMWrap.c3
-rw-r--r--src/xlibi18n/XDefaultIMIF.c3
-rw-r--r--src/xlibi18n/XDefaultOMIF.c3
-rw-r--r--src/xlibi18n/XlcDL.c5
-rw-r--r--src/xlibi18n/XlcSL.c3
-rw-r--r--src/xlibi18n/imKStoUCS.c3
-rw-r--r--src/xlibi18n/lcCT.c3
-rw-r--r--src/xlibi18n/lcCharSet.c3
-rw-r--r--src/xlibi18n/lcConv.c3
-rw-r--r--src/xlibi18n/lcDB.c3
-rw-r--r--src/xlibi18n/lcDynamic.c3
-rw-r--r--src/xlibi18n/lcFile.c3
-rw-r--r--src/xlibi18n/lcGeneric.c3
-rw-r--r--src/xlibi18n/lcInit.c3
-rw-r--r--src/xlibi18n/lcPrTxt.c3
-rw-r--r--src/xlibi18n/lcPubWrap.c3
-rw-r--r--src/xlibi18n/lcPublic.c3
-rw-r--r--src/xlibi18n/lcRM.c3
-rw-r--r--src/xlibi18n/lcStd.c3
-rw-r--r--src/xlibi18n/lcTxtPr.c3
-rw-r--r--src/xlibi18n/lcUTF8.c3
-rw-r--r--src/xlibi18n/lcUtil.c3
-rw-r--r--src/xlibi18n/lcWrap.c3
-rw-r--r--src/xlibi18n/mbWMProps.c3
-rw-r--r--src/xlibi18n/mbWrap.c3
-rw-r--r--src/xlibi18n/utf8WMProps.c3
-rw-r--r--src/xlibi18n/utf8Wrap.c3
-rw-r--r--src/xlibi18n/wcWrap.c3
377 files changed, 1740 insertions, 9 deletions
diff --git a/src/AllCells.c b/src/AllCells.c
index 495d9a36..ed7bc845 100644
--- a/src/AllCells.c
+++ b/src/AllCells.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XAllocColorCells(dpy, cmap, contig, masks, nplanes, pixels, ncolors)
diff --git a/src/AllPlanes.c b/src/AllPlanes.c
index 5f7e6bcc..079422be 100644
--- a/src/AllPlanes.c
+++ b/src/AllPlanes.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/AllPlanes.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XAllocColorPlanes(dpy, cmap, contig, pixels, ncolors, nreds, ngreens,
diff --git a/src/AllowEv.c b/src/AllowEv.c
index b87d3bec..c5905b99 100644
--- a/src/AllowEv.c
+++ b/src/AllowEv.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/AllowEv.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/AutoRep.c b/src/AutoRep.c
index eb6a3073..404d520b 100644
--- a/src/AutoRep.c
+++ b/src/AutoRep.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/AutoRep.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Backgnd.c b/src/Backgnd.c
index 76ebb13f..dbb92425 100644
--- a/src/Backgnd.c
+++ b/src/Backgnd.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Backgnd.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/BdrWidth.c b/src/BdrWidth.c
index 5178032f..db6df013 100644
--- a/src/BdrWidth.c
+++ b/src/BdrWidth.c
@@ -29,6 +29,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/BdrWidth.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Bell.c b/src/Bell.c
index 53b77c81..8eebc6b0 100644
--- a/src/Bell.c
+++ b/src/Bell.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Bell.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Border.c b/src/Border.c
index 29f55555..8f0bdb68 100644
--- a/src/Border.c
+++ b/src/Border.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Border.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChAccCon.c b/src/ChAccCon.c
index 4d9281db..eef3bb01 100644
--- a/src/ChAccCon.c
+++ b/src/ChAccCon.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChAccCon.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChActPGb.c b/src/ChActPGb.c
index e1df3431..42ec3305 100644
--- a/src/ChActPGb.c
+++ b/src/ChActPGb.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChActPGb.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChClMode.c b/src/ChClMode.c
index 4faa37f5..1b22f68b 100644
--- a/src/ChClMode.c
+++ b/src/ChClMode.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChClMode.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChCmap.c b/src/ChCmap.c
index f3c02ded..112c944b 100644
--- a/src/ChCmap.c
+++ b/src/ChCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChCmap.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChGC.c b/src/ChGC.c
index 9186dd05..bafa1d49 100644
--- a/src/ChGC.c
+++ b/src/ChGC.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChGC.c,v 1.4 2001/12/14 19:53:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Cr.h"
diff --git a/src/ChKeyCon.c b/src/ChKeyCon.c
index bc5419f4..831f6f0e 100644
--- a/src/ChKeyCon.c
+++ b/src/ChKeyCon.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChKeyCon.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChPntCon.c b/src/ChPntCon.c
index 0a0fd6f0..225d031c 100644
--- a/src/ChPntCon.c
+++ b/src/ChPntCon.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChPntCon.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChProp.c b/src/ChProp.c
index 606277d6..8c524caf 100644
--- a/src/ChProp.c
+++ b/src/ChProp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChProp.c,v 1.4 2001/12/14 19:53:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChSaveSet.c b/src/ChSaveSet.c
index a048b7bb..9862db72 100644
--- a/src/ChSaveSet.c
+++ b/src/ChSaveSet.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChSaveSet.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChWAttrs.c b/src/ChWAttrs.c
index 215980b1..57b81ab1 100644
--- a/src/ChWAttrs.c
+++ b/src/ChWAttrs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChWAttrs.c,v 1.4 2001/12/14 19:53:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define AllMaskBits (CWBackPixmap|CWBackPixel|CWBorderPixmap|\
diff --git a/src/ChWindow.c b/src/ChWindow.c
index 41af3bed..a403d76d 100644
--- a/src/ChWindow.c
+++ b/src/ChWindow.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChWindow.c,v 1.5 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ChkIfEv.c b/src/ChkIfEv.c
index 7c56f52e..ff74bcd7 100644
--- a/src/ChkIfEv.c
+++ b/src/ChkIfEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86$ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/ChkMaskEv.c b/src/ChkMaskEv.c
index 961dce69..92b569f7 100644
--- a/src/ChkMaskEv.c
+++ b/src/ChkMaskEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ChkMaskEv.c,v 3.5 2001/10/28 03:32:29 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
extern long const _Xevent_to_mask[];
diff --git a/src/ChkTypEv.c b/src/ChkTypEv.c
index c1c36d43..8fd879d1 100644
--- a/src/ChkTypEv.c
+++ b/src/ChkTypEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ChkTypEv.c,v 1.2 2001/10/28 03:32:29 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/ChkTypWEv.c b/src/ChkTypWEv.c
index c15f2bcf..83b6244d 100644
--- a/src/ChkTypWEv.c
+++ b/src/ChkTypWEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ChkTypWEv.c,v 1.2 2001/10/28 03:32:29 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/ChkWinEv.c b/src/ChkWinEv.c
index 2fd386d2..91d9b30e 100644
--- a/src/ChkWinEv.c
+++ b/src/ChkWinEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ChkWinEv.c,v 3.5 2001/10/28 03:32:30 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
extern long const _Xevent_to_mask[];
diff --git a/src/CirWin.c b/src/CirWin.c
index 53c70440..100cbbe6 100644
--- a/src/CirWin.c
+++ b/src/CirWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CirWin.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CirWinDn.c b/src/CirWinDn.c
index b790f2d7..83a5966d 100644
--- a/src/CirWinDn.c
+++ b/src/CirWinDn.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CirWinDn.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CirWinUp.c b/src/CirWinUp.c
index 12756cd3..42a26417 100644
--- a/src/CirWinUp.c
+++ b/src/CirWinUp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CirWinUp.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ClDisplay.c b/src/ClDisplay.c
index 25fac7b1..74058b26 100644
--- a/src/ClDisplay.c
+++ b/src/ClDisplay.c
@@ -29,6 +29,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/ClDisplay.c,v 1.4 2001/12/14 19:53:58 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xtrans.h>
#include "Xlib.h"
#include "Xlibint.h"
diff --git a/src/Clear.c b/src/Clear.c
index 403943bc..314d2594 100644
--- a/src/Clear.c
+++ b/src/Clear.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Clear.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ClearArea.c b/src/ClearArea.c
index a85eb6ba..194a6a2d 100644
--- a/src/ClearArea.c
+++ b/src/ClearArea.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ClearArea.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ConfWind.c b/src/ConfWind.c
index 1c5813f5..fddd2831 100644
--- a/src/ConfWind.c
+++ b/src/ConfWind.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ConfWind.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ConnDis.c b/src/ConnDis.c
index ca48ba07..02130f07 100644
--- a/src/ConnDis.c
+++ b/src/ConnDis.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: lib/X11/src/ConnDis.c,v 1.6 2004-11-15 15:06:54 ago Exp $ */
+/* $XdotOrg: lib/X11/src/ConnDis.c,v 1.7 2005-05-13 22:53:43 sandmann Exp $ */
/* $Xorg: ConnDis.c,v 1.8 2001/02/09 02:03:31 xorgcvs Exp $ */
/*
@@ -33,6 +33,9 @@ in this Software without prior written authorization from The Open Group.
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xtrans.h>
#include <X11/Xauth.h>
diff --git a/src/Context.c b/src/Context.c
index fef578ff..747bb6be 100644
--- a/src/Context.c
+++ b/src/Context.c
@@ -64,6 +64,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#ifdef XTHREADS
diff --git a/src/ConvSel.c b/src/ConvSel.c
index 24d4f83b..64739b24 100644
--- a/src/ConvSel.c
+++ b/src/ConvSel.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ConvSel.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CopyArea.c b/src/CopyArea.c
index a2a92a8d..f27bfef2 100644
--- a/src/CopyArea.c
+++ b/src/CopyArea.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CopyArea.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CopyCmap.c b/src/CopyCmap.c
index 9c7abcec..6025b0ca 100644
--- a/src/CopyCmap.c
+++ b/src/CopyCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CopyCmap.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/CopyGC.c b/src/CopyGC.c
index 121bf5b8..7ca5f388 100644
--- a/src/CopyGC.c
+++ b/src/CopyGC.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CopyGC.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CopyPlane.c b/src/CopyPlane.c
index 7adae39f..b8138888 100644
--- a/src/CopyPlane.c
+++ b/src/CopyPlane.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CopyPlane.c,v 1.3 2001/01/17 19:41:33 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/CrBFData.c b/src/CrBFData.c
index 6e9aad1b..2e665dfe 100644
--- a/src/CrBFData.c
+++ b/src/CrBFData.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlib.h"
/*
diff --git a/src/CrCmap.c b/src/CrCmap.c
index 22a2cffe..c53faeb8 100644
--- a/src/CrCmap.c
+++ b/src/CrCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CrCmap.c,v 1.4 2001/12/14 19:53:59 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/CrCursor.c b/src/CrCursor.c
index c3ce84b3..917349f0 100644
--- a/src/CrCursor.c
+++ b/src/CrCursor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#ifdef USE_DYNAMIC_XCURSOR
diff --git a/src/CrGC.c b/src/CrGC.c
index b075d96b..2cc09e24 100644
--- a/src/CrGC.c
+++ b/src/CrGC.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CrGC.c,v 3.6 2001/12/14 19:53:59 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Cr.h"
diff --git a/src/CrGlCur.c b/src/CrGlCur.c
index 4fc63112..2d34a754 100644
--- a/src/CrGlCur.c
+++ b/src/CrGlCur.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/CrGlCur.c,v 1.7 2003/04/13 19:22:15 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#ifdef USE_DYNAMIC_XCURSOR
diff --git a/src/CrPFBData.c b/src/CrPFBData.c
index f28aabbb..b65e32fc 100644
--- a/src/CrPFBData.c
+++ b/src/CrPFBData.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlib.h"
#include <stdio.h>
diff --git a/src/CrPixmap.c b/src/CrPixmap.c
index 6b4069c1..72ef6960 100644
--- a/src/CrPixmap.c
+++ b/src/CrPixmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#ifdef USE_DYNAMIC_XCURSOR
diff --git a/src/CrWindow.c b/src/CrWindow.c
index 418f9867..9a15f2ec 100644
--- a/src/CrWindow.c
+++ b/src/CrWindow.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Window XCreateSimpleWindow(dpy, parent, x, y, width, height,
diff --git a/src/Cursor.c b/src/Cursor.c
index 82242eeb..98ac36bb 100644
--- a/src/Cursor.c
+++ b/src/Cursor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Cursor.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
static XColor _Xconst foreground = { 0, 0, 0, 0 }; /* black */
static XColor _Xconst background = { 0, 65535, 65535, 65535 }; /* white */
diff --git a/src/DefCursor.c b/src/DefCursor.c
index f8e479ad..053afbad 100644
--- a/src/DefCursor.c
+++ b/src/DefCursor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DefCursor.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DelProp.c b/src/DelProp.c
index 4b2171aa..fd40b754 100644
--- a/src/DelProp.c
+++ b/src/DelProp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DelProp.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Depths.c b/src/Depths.c
index 34756e71..82ce2c89 100644
--- a/src/Depths.c
+++ b/src/Depths.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <stdio.h>
diff --git a/src/DestSubs.c b/src/DestSubs.c
index 465fc05d..3d5f48d4 100644
--- a/src/DestSubs.c
+++ b/src/DestSubs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DestSubs.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DestWind.c b/src/DestWind.c
index c218bc08..a079d448 100644
--- a/src/DestWind.c
+++ b/src/DestWind.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DestWind.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DisName.c b/src/DisName.c
index efae8f31..59b5b3e1 100644
--- a/src/DisName.c
+++ b/src/DisName.c
@@ -46,6 +46,9 @@ from The Open Group.
*/
/* Written at Waterloo - JMSellens */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include "Xlib.h"
diff --git a/src/DrArc.c b/src/DrArc.c
index 8b416dd3..31116764 100644
--- a/src/DrArc.c
+++ b/src/DrArc.c
@@ -32,6 +32,9 @@ in this Software without prior written authorization from The Open Group.
the last point in one arc coincides with the first point in another.
The client wouldn't expect this and would have no easy way to defeat it. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DrArcs.c b/src/DrArcs.c
index f798b748..8e028633 100644
--- a/src/DrArcs.c
+++ b/src/DrArcs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrArcs.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define arc_scale (SIZEOF(xArc) / 4)
diff --git a/src/DrLine.c b/src/DrLine.c
index 8d9dca21..59095069 100644
--- a/src/DrLine.c
+++ b/src/DrLine.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrLine.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* precompute the maximum size of batching request allowed */
diff --git a/src/DrLines.c b/src/DrLines.c
index 198aae5c..ea8bf82b 100644
--- a/src/DrLines.c
+++ b/src/DrLines.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrLines.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DrPoint.c b/src/DrPoint.c
index c07942e3..3cd6b7f5 100644
--- a/src/DrPoint.c
+++ b/src/DrPoint.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrPoint.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* precompute the maximum size of batching request allowed */
diff --git a/src/DrPoints.c b/src/DrPoints.c
index 33d3b742..1637aa89 100644
--- a/src/DrPoints.c
+++ b/src/DrPoints.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrPoints.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DrRect.c b/src/DrRect.c
index 2fa0e466..984e291c 100644
--- a/src/DrRect.c
+++ b/src/DrRect.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrRect.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* precompute the maximum size of batching request allowed */
diff --git a/src/DrRects.c b/src/DrRects.c
index ff674e93..b300f2fe 100644
--- a/src/DrRects.c
+++ b/src/DrRects.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrRects.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/DrSegs.c b/src/DrSegs.c
index dde949da..e7e61b89 100644
--- a/src/DrSegs.c
+++ b/src/DrSegs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/DrSegs.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ErrDes.c b/src/ErrDes.c
index 2f1e1de4..f45b9e29 100644
--- a/src/ErrDes.c
+++ b/src/ErrDes.c
@@ -1,6 +1,6 @@
/*
* $Xorg: ErrDes.c,v 1.4 2001/02/09 02:03:32 xorgcvs Exp $
- * $XdotOrg: lib/X11/src/ErrDes.c,v 1.5 2005-03-21 04:58:21 alanc Exp $
+ * $XdotOrg: lib/X11/src/ErrDes.c,v 1.6 2005-05-13 22:53:43 sandmann Exp $
*/
/***********************************************************
@@ -51,6 +51,9 @@ SOFTWARE.
******************************************************************/
/* $XFree86: xc/lib/X11/ErrDes.c,v 3.11 2003/08/06 14:03:59 eich Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xos.h>
#include "Xresource.h"
diff --git a/src/ErrHndlr.c b/src/ErrHndlr.c
index 941d219c..b3c2ce5a 100644
--- a/src/ErrHndlr.c
+++ b/src/ErrHndlr.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ErrHndlr.c,v 1.6 2003/04/13 19:22:15 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/EvToWire.c b/src/EvToWire.c
index 2a84c322..14335279 100644
--- a/src/EvToWire.c
+++ b/src/EvToWire.c
@@ -36,6 +36,9 @@ from The Open Group.
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/FSSaver.c b/src/FSSaver.c
index 0699257a..8ffa9593 100644
--- a/src/FSSaver.c
+++ b/src/FSSaver.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FSSaver.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FSWrap.c b/src/FSWrap.c
index 2bdfa303..d40f3b03 100644
--- a/src/FSWrap.c
+++ b/src/FSWrap.c
@@ -58,6 +58,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/FSWrap.c,v 1.8 2003/08/22 19:27:24 eich Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
#include <ctype.h>
diff --git a/src/FetchName.c b/src/FetchName.c
index 1317fa86..3d41472f 100644
--- a/src/FetchName.c
+++ b/src/FetchName.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xos.h>
diff --git a/src/FillArc.c b/src/FillArc.c
index 3866a891..2aa88d8f 100644
--- a/src/FillArc.c
+++ b/src/FillArc.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FillArc.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* precompute the maximum size of batching request allowed */
diff --git a/src/FillArcs.c b/src/FillArcs.c
index c644f306..27f0b8ff 100644
--- a/src/FillArcs.c
+++ b/src/FillArcs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FillArcs.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define arc_scale (SIZEOF(xArc) / 4)
diff --git a/src/FillPoly.c b/src/FillPoly.c
index a363247f..93884d79 100644
--- a/src/FillPoly.c
+++ b/src/FillPoly.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FillPoly.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FillRct.c b/src/FillRct.c
index 79da709f..d4a362af 100644
--- a/src/FillRct.c
+++ b/src/FillRct.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FillRct.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* precompute the maximum size of batching request allowed */
diff --git a/src/FillRcts.c b/src/FillRcts.c
index 017cd0c3..0c234f01 100644
--- a/src/FillRcts.c
+++ b/src/FillRcts.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FillRcts.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FilterEv.c b/src/FilterEv.c
index afc7b444..9a0f4c63 100644
--- a/src/FilterEv.c
+++ b/src/FilterEv.c
@@ -56,6 +56,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/FilterEv.c,v 3.4 2001/07/29 05:01:11 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/Flush.c b/src/Flush.c
index 58eb4e6d..3df8731b 100644
--- a/src/Flush.c
+++ b/src/Flush.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Flush.c,v 1.3 2001/01/17 19:41:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* Flush all buffered output requests. */
diff --git a/src/Font.c b/src/Font.c
index da1937a2..c37617cf 100644
--- a/src/Font.c
+++ b/src/Font.c
@@ -30,6 +30,9 @@ authorization from the X Consortium and the XFree86 Project.
/* $XFree86: xc/lib/X11/Font.c,v 1.17 2003/04/13 19:22:16 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#if defined(XF86BIGFONT) && !defined(MUSTCOPY)
diff --git a/src/FontInfo.c b/src/FontInfo.c
index a98d0736..f9237585 100644
--- a/src/FontInfo.c
+++ b/src/FontInfo.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/FontInfo.c,v 1.6 2001/12/14 19:54:00 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#if defined(XF86BIGFONT) && !defined(MUSTCOPY)
diff --git a/src/FontNames.c b/src/FontNames.c
index f6e7036e..0db27a22 100644
--- a/src/FontNames.c
+++ b/src/FontNames.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/FontNames.c,v 1.6 2001/12/14 19:54:00 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
char **
diff --git a/src/FreeCmap.c b/src/FreeCmap.c
index 1195b3ad..c399c1f2 100644
--- a/src/FreeCmap.c
+++ b/src/FreeCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreeCmap.c,v 1.4 2001/12/14 19:54:00 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlib.h"
#include "Xlibint.h"
#include "Cmap.h"
diff --git a/src/FreeCols.c b/src/FreeCols.c
index d9516bad..1ae52586 100644
--- a/src/FreeCols.c
+++ b/src/FreeCols.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreeCols.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FreeCurs.c b/src/FreeCurs.c
index 8fff916a..45f5d044 100644
--- a/src/FreeCurs.c
+++ b/src/FreeCurs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreeCurs.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FreeEData.c b/src/FreeEData.c
index d3555d54..d8278cba 100644
--- a/src/FreeEData.c
+++ b/src/FreeEData.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreeEData.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FreeGC.c b/src/FreeGC.c
index 96e61de3..ccfbba5d 100644
--- a/src/FreeGC.c
+++ b/src/FreeGC.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreeGC.c,v 1.4 2001/08/18 02:41:28 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/FreePix.c b/src/FreePix.c
index 40ad42f3..5fe65bab 100644
--- a/src/FreePix.c
+++ b/src/FreePix.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FreePix.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GCMisc.c b/src/GCMisc.c
index 62f4af00..5a8233be 100644
--- a/src/GCMisc.c
+++ b/src/GCMisc.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GCMisc.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Geom.c b/src/Geom.c
index 0980094c..498c4455 100644
--- a/src/Geom.c
+++ b/src/Geom.c
@@ -29,6 +29,9 @@ from The Open Group.
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
diff --git a/src/GetAtomNm.c b/src/GetAtomNm.c
index 495fb426..1bba975d 100644
--- a/src/GetAtomNm.c
+++ b/src/GetAtomNm.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetAtomNm.c,v 3.4 2001/08/18 02:41:28 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xintatom.h"
diff --git a/src/GetColor.c b/src/GetColor.c
index 2ccaf92f..530f479d 100644
--- a/src/GetColor.c
+++ b/src/GetColor.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetColor.c,v 1.6 2003/04/13 19:22:16 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/GetDflt.c b/src/GetDflt.c
index 3c7ba344..8a856337 100644
--- a/src/GetDflt.c
+++ b/src/GetDflt.c
@@ -48,6 +48,9 @@ SOFTWARE.
******************************************************************/
/* $XFree86: xc/lib/X11/GetDflt.c,v 3.22 2003/04/13 19:22:16 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xos.h>
#include <X11/Xresource.h>
diff --git a/src/GetFPath.c b/src/GetFPath.c
index 6db1602e..03ad5daf 100644
--- a/src/GetFPath.c
+++ b/src/GetFPath.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetFPath.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
char **XGetFontPath(dpy, npaths)
diff --git a/src/GetFProp.c b/src/GetFProp.c
index f588c2f0..1360ca10 100644
--- a/src/GetFProp.c
+++ b/src/GetFProp.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Bool XGetFontProperty (fs, name, valuePtr)
diff --git a/src/GetGCVals.c b/src/GetGCVals.c
index e8875869..a7fbd743 100644
--- a/src/GetGCVals.c
+++ b/src/GetGCVals.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/GetGeom.c b/src/GetGeom.c
index 367153f4..842df335 100644
--- a/src/GetGeom.c
+++ b/src/GetGeom.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XGetGeometry (dpy, d, root, x, y, width, height, borderWidth, depth)
diff --git a/src/GetHColor.c b/src/GetHColor.c
index 33e6ad59..647cc11c 100644
--- a/src/GetHColor.c
+++ b/src/GetHColor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XAllocColor(dpy, cmap, def)
diff --git a/src/GetHints.c b/src/GetHints.c
index d2452700..4faccb62 100644
--- a/src/GetHints.c
+++ b/src/GetHints.c
@@ -48,6 +48,9 @@ SOFTWARE.
******************************************************************/
/* $XFree86: xc/lib/X11/GetHints.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xos.h>
#include <X11/Xutil.h>
diff --git a/src/GetIFocus.c b/src/GetIFocus.c
index fe1e80f8..13cab18a 100644
--- a/src/GetIFocus.c
+++ b/src/GetIFocus.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetIFocus.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GetImage.c b/src/GetImage.c
index 3a2939cf..ffe9d226 100644
--- a/src/GetImage.c
+++ b/src/GetImage.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetImage.c,v 1.4 2001/12/14 19:54:00 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xutil.h> /* for XDestroyImage */
#include "ImUtil.h"
diff --git a/src/GetKCnt.c b/src/GetKCnt.c
index 525ea1b9..47f80647 100644
--- a/src/GetKCnt.c
+++ b/src/GetKCnt.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetKCnt.c,v 1.5 2001/01/17 19:41:36 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GetMoEv.c b/src/GetMoEv.c
index 1bead38a..e332ecfe 100644
--- a/src/GetMoEv.c
+++ b/src/GetMoEv.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
XTimeCoord *XGetMotionEvents(dpy, w, start, stop, nEvents)
diff --git a/src/GetNrmHint.c b/src/GetNrmHint.c
index 741d1531..9dcb7c40 100644
--- a/src/GetNrmHint.c
+++ b/src/GetNrmHint.c
@@ -52,6 +52,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include "Xatomtype.h"
diff --git a/src/GetPCnt.c b/src/GetPCnt.c
index 457dc9bc..0883abad 100644
--- a/src/GetPCnt.c
+++ b/src/GetPCnt.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetPCnt.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GetPntMap.c b/src/GetPntMap.c
index 65a5215f..7a93ad79 100644
--- a/src/GetPntMap.c
+++ b/src/GetPntMap.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetPntMap.c,v 1.6 2001/12/14 19:54:01 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#ifdef MIN /* some systems define this in <sys/param.h> */
diff --git a/src/GetProp.c b/src/GetProp.c
index 3323c778..af552570 100644
--- a/src/GetProp.c
+++ b/src/GetProp.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetProp.c,v 1.5 2001/10/28 03:32:30 tsi Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GetRGBCMap.c b/src/GetRGBCMap.c
index bde36215..6657c539 100644
--- a/src/GetRGBCMap.c
+++ b/src/GetRGBCMap.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/GetSOwner.c b/src/GetSOwner.c
index b9bacdfc..30d57023 100644
--- a/src/GetSOwner.c
+++ b/src/GetSOwner.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Window XGetSelectionOwner(dpy, selection)
diff --git a/src/GetSSaver.c b/src/GetSSaver.c
index 1dc004d9..fc124eb5 100644
--- a/src/GetSSaver.c
+++ b/src/GetSSaver.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetSSaver.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GetStCmap.c b/src/GetStCmap.c
index 0674bcb8..5c8c37e7 100644
--- a/src/GetStCmap.c
+++ b/src/GetStCmap.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/GetTxtProp.c b/src/GetTxtProp.c
index bbd62851..0d447425 100644
--- a/src/GetTxtProp.c
+++ b/src/GetTxtProp.c
@@ -49,6 +49,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
diff --git a/src/GetWAttrs.c b/src/GetWAttrs.c
index 527675fc..05f1c112 100644
--- a/src/GetWAttrs.c
+++ b/src/GetWAttrs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
typedef struct _WAttrsState {
diff --git a/src/GetWMCMapW.c b/src/GetWMCMapW.c
index 6c56a136..6d5c73c8 100644
--- a/src/GetWMCMapW.c
+++ b/src/GetWMCMapW.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xatom.h>
#include <stdio.h>
diff --git a/src/GetWMProto.c b/src/GetWMProto.c
index 84e79b60..9b244ce6 100644
--- a/src/GetWMProto.c
+++ b/src/GetWMProto.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xatom.h>
#include <stdio.h>
diff --git a/src/GrButton.c b/src/GrButton.c
index af642e9a..9bb8b853 100644
--- a/src/GrButton.c
+++ b/src/GrButton.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GrButton.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GrKey.c b/src/GrKey.c
index a1d5973f..ea636619 100644
--- a/src/GrKey.c
+++ b/src/GrKey.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GrKey.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/GrKeybd.c b/src/GrKeybd.c
index 3f43f7ae..af587926 100644
--- a/src/GrKeybd.c
+++ b/src/GrKeybd.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int XGrabKeyboard (dpy, window, ownerEvents, pointerMode, keyboardMode, time)
register Display *dpy;
diff --git a/src/GrPointer.c b/src/GrPointer.c
index 544337a9..39351f42 100644
--- a/src/GrPointer.c
+++ b/src/GrPointer.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int XGrabPointer(dpy, grab_window, owner_events, event_mask, pointer_mode,
diff --git a/src/GrServer.c b/src/GrServer.c
index df8cf3f2..bdb50513 100644
--- a/src/GrServer.c
+++ b/src/GrServer.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GrServer.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Host.c b/src/Host.c
index 4569863b..5a76c50c 100644
--- a/src/Host.c
+++ b/src/Host.c
@@ -1,5 +1,5 @@
/* $Xorg: Host.c,v 1.4 2001/02/09 02:03:33 xorgcvs Exp $ */
-/* $XdotOrg: lib/X11/src/Host.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/Host.c,v 1.3 2005-05-13 22:53:43 sandmann Exp $ */
/*
Copyright 1986, 1998 The Open Group
@@ -39,6 +39,9 @@ X Window System is a trademark of The Open Group.
/* this might be rightly regarded an os dependent file */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Iconify.c b/src/Iconify.c
index b67b6602..62e57b84 100644
--- a/src/Iconify.c
+++ b/src/Iconify.c
@@ -51,6 +51,9 @@ from The Open Group.
*/
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xos.h>
diff --git a/src/IfEvent.c b/src/IfEvent.c
index 57b792d8..55e7829c 100644
--- a/src/IfEvent.c
+++ b/src/IfEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/IfEvent.c,v 1.4 2001/12/14 19:54:01 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/ImText.c b/src/ImText.c
index c6cd2c04..4d2f147d 100644
--- a/src/ImText.c
+++ b/src/ImText.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ImText.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ImText16.c b/src/ImText16.c
index cabcf279..d0b5e9bc 100644
--- a/src/ImText16.c
+++ b/src/ImText16.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ImText16.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ImUtil.c b/src/ImUtil.c
index 446bef23..83fd030b 100644
--- a/src/ImUtil.c
+++ b/src/ImUtil.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ImUtil.c,v 3.12 2003/04/15 22:10:06 herrb Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include <stdio.h>
diff --git a/src/InitExt.c b/src/InitExt.c
index 215ed7b3..67c86578 100644
--- a/src/InitExt.c
+++ b/src/InitExt.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/InitExt.c,v 1.7 2001/12/14 19:54:02 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xos.h>
#include <stdio.h>
diff --git a/src/InsCmap.c b/src/InsCmap.c
index df0dc9f7..26a86446 100644
--- a/src/InsCmap.c
+++ b/src/InsCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/InsCmap.c,v 1.3 2001/01/17 19:41:38 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/IntAtom.c b/src/IntAtom.c
index 00240fd9..8161c7f7 100644
--- a/src/IntAtom.c
+++ b/src/IntAtom.c
@@ -29,6 +29,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/IntAtom.c,v 1.6 2001/12/14 19:54:02 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xintatom.h"
diff --git a/src/KeyBind.c b/src/KeyBind.c
index 1911b5a4..09488a3c 100644
--- a/src/KeyBind.c
+++ b/src/KeyBind.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
/* Beware, here be monsters (still under construction... - JG */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#define XK_MISCELLANY
diff --git a/src/KeysymStr.c b/src/KeysymStr.c
index f3301e10..59aa3f32 100644
--- a/src/KeysymStr.c
+++ b/src/KeysymStr.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/KeysymStr.c,v 3.9 2003/04/13 19:22:16 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xresource.h>
#include <X11/keysymdef.h>
diff --git a/src/KillCl.c b/src/KillCl.c
index 6f05057c..4c2ddcfe 100644
--- a/src/KillCl.c
+++ b/src/KillCl.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/KillCl.c,v 1.3 2001/01/17 19:41:38 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/LiHosts.c b/src/LiHosts.c
index 406c8550..a455b671 100644
--- a/src/LiHosts.c
+++ b/src/LiHosts.c
@@ -1,5 +1,5 @@
/* $Xorg: LiHosts.c,v 1.4 2001/02/09 02:03:34 xorgcvs Exp $ */
-/* $XdotOrg: lib/X11/src/LiHosts.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/LiHosts.c,v 1.3 2005-05-13 22:53:44 sandmann Exp $ */
/*
Copyright 1986, 1998 The Open Group
@@ -39,6 +39,9 @@ X Window System is a trademark of The Open Group.
/* This can really be considered an os dependent routine */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
* can be freed using XFree.
diff --git a/src/LiICmaps.c b/src/LiICmaps.c
index 93a45025..c36fe55a 100644
--- a/src/LiICmaps.c
+++ b/src/LiICmaps.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/LiICmaps.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Colormap *XListInstalledColormaps(dpy, win, n)
diff --git a/src/LiProps.c b/src/LiProps.c
index 346b8cac..5e3aba8c 100644
--- a/src/LiProps.c
+++ b/src/LiProps.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/LiProps.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Atom *XListProperties(dpy, window, n_props)
diff --git a/src/ListExt.c b/src/ListExt.c
index e0a35c20..1140082e 100644
--- a/src/ListExt.c
+++ b/src/ListExt.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ListExt.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
char **XListExtensions(dpy, nextensions)
diff --git a/src/LoadFont.c b/src/LoadFont.c
index bffdafe8..de5f5cee 100644
--- a/src/LoadFont.c
+++ b/src/LoadFont.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/LoadFont.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Font
diff --git a/src/LockDis.c b/src/LockDis.c
index 96aabe45..d99d3bb6 100644
--- a/src/LockDis.c
+++ b/src/LockDis.c
@@ -33,6 +33,9 @@ in this Software without prior written authorization from The Open Group.
* XLockDis.c - multi-thread application-level locking routines
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#ifdef XTHREADS
#include "locking.h"
diff --git a/src/LookupCol.c b/src/LookupCol.c
index e68625e8..02f831a6 100644
--- a/src/LookupCol.c
+++ b/src/LookupCol.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/LookupCol.c,v 1.6 2003/04/13 19:22:16 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/LowerWin.c b/src/LowerWin.c
index 1a639deb..2db1e8ab 100644
--- a/src/LowerWin.c
+++ b/src/LowerWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/LowerWin.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Macros.c b/src/Macros.c
index cc7c6172..34d11fea 100644
--- a/src/Macros.c
+++ b/src/Macros.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Macros.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define XUTIL_DEFINE_FUNCTIONS
#include "Xutil.h"
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 00000000..b3425695
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,548 @@
+SUBDIRS=util
+
+lib_LTLIBRARIES=libX11.la
+
+BUILT_SOURCES=ks_tables.h
+CLEANFILES=ks_tables.h ks_tables_h
+
+AM_CFLAGS= \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/include/X11 \
+ -I$(top_builddir)/include \
+ -I$(top_builddir)/include/X11 \
+ $(X11_CFLAGS) \
+ $(BIGREQS_CFLAGS) \
+ $(XDMCP_CFLAGS) \
+ -DX11_DATADIR='"@X11_DATADIR@"' \
+ -D_BSD_SOURCE
+
+libX11_la_LDFLAGS = -version-number 6:2:1 -no-undefined
+
+libX11_la_LIBADD = $(X11_LIBS) $(BIGREQS_LIBS) $(XDMCP_LIBS)
+
+XCMS_SRCS= \
+ AddDIC.c \
+ AddSF.c \
+ CCC.c \
+ CvColW.c \
+ CvCols.c \
+ Cv.h \
+ HVC.c \
+ HVCGcC.c \
+ HVCGcV.c \
+ HVCGcVC.c \
+ HVCMnV.c \
+ HVCMxC.c \
+ HVCMxV.c \
+ HVCMxVC.c \
+ HVCMxVs.c \
+ HVCWpAj.c \
+ IdOfPr.c \
+ LRGB.c \
+ Lab.c \
+ LabGcC.c \
+ LabGcL.c \
+ LabGcLC.c \
+ LabMnL.c \
+ LabMxC.c \
+ LabMxL.c \
+ LabMxLC.c \
+ LabWpAj.c \
+ Luv.c \
+ LuvGcC.c \
+ LuvGcL.c \
+ LuvGcLC.c \
+ LuvMnL.c \
+ LuvMxC.c \
+ LuvMxL.c \
+ LuvMxLC.c \
+ LuvWpAj.c \
+ OfCCC.c \
+ PrOfId.c \
+ QBlack.c \
+ QBlue.c \
+ QGreen.c \
+ QRed.c \
+ QWhite.c \
+ QuCol.c \
+ QuCols.c \
+ SetCCC.c \
+ SetGetCols.c \
+ StCol.c \
+ StCols.c \
+ UNDEFINED.c \
+ XRGB.c \
+ XYZ.c \
+ cmsAllCol.c \
+ cmsAllNCol.c \
+ cmsCmap.c \
+ cmsColNm.c \
+ cmsGlobls.c \
+ cmsInt.c \
+ cmsLkCol.c \
+ cmsMath.c \
+ cmsProp.c \
+ cmsTrig.c \
+ uvY.c \
+ xyY.c \
+ Xcmsint.h
+
+XI18N_SRCS=\
+ xim_trans.c \
+ xim_trans.h \
+ ICWrap.c \
+ IMWrap.c \
+ XDefaultIMIF.c \
+ XDefaultOMIF.c \
+ XlcDL.c \
+ XlcSL.c \
+ imCallbk.c \
+ imConv.c \
+ imDefFlt.c \
+ imDefIc.c \
+ imDefIm.c \
+ imDefLkup.c \
+ imDispch.c \
+ imEvToWire.c \
+ imExten.c \
+ imImSw.c \
+ imInsClbk.c \
+ imInt.c \
+ imKStoUCS.c \
+ imLcFlt.c \
+ imLcGIc.c \
+ imLcIc.c \
+ imLcIm.c \
+ imLcLkup.c \
+ imLcPrs.c \
+ imLcSIc.c \
+ imRm.c \
+ imRmAttr.c \
+ imThaiFlt.c \
+ imThaiIc.c \
+ imThaiIm.c \
+ imTrX.c \
+ imTrans.c \
+ imTransR.c \
+ lcCT.c \
+ lcCharSet.c \
+ lcConv.c \
+ lcDB.c \
+ lcDefConv.c \
+ lcDynamic.c \
+ lcEuc.c \
+ lcFile.c \
+ lcGenConv.c \
+ lcGeneric.c \
+ lcInit.c \
+ lcJis.c \
+ lcPrTxt.c \
+ lcPubWrap.c \
+ lcPublic.c \
+ lcRM.c \
+ lcSjis.c \
+ lcStd.c \
+ lcTxtPr.c \
+ lcUTF8.c \
+ lcUTF8Load.c \
+ lcUtil.c \
+ lcWrap.c \
+ mbWMProps.c \
+ mbWrap.c \
+ omDefault.c \
+ omGeneric.c \
+ omImText.c \
+ omText.c \
+ omTextEsc.c \
+ omTextExt.c \
+ omTextPer.c \
+ omXChar.c \
+ utf8WMProps.c \
+ utf8Wrap.c \
+ wcWrap.c \
+ Xaixlcint.h \
+ XimImSw.h \
+ XimProto.h \
+ XimThai.h \
+ XimTrInt.h \
+ XimTrX.h \
+ XimTrans.h \
+ Ximint.h \
+ XimintL.h \
+ XimintP.h \
+ XlcGeneric.h \
+ XlcPubI.h \
+ XlcPublic.h \
+ Xlcint.h \
+ lcUniConv/armscii_8.h \
+ lcUniConv/ascii.h \
+ lcUniConv/big5.h \
+ lcUniConv/big5_emacs.h \
+ lcUniConv/cp1133.h \
+ lcUniConv/cp1251.h \
+ lcUniConv/cp1255.h \
+ lcUniConv/cp1256.h \
+ lcUniConv/gb2312.h \
+ lcUniConv/georgian_academy.h \
+ lcUniConv/georgian_ps.h \
+ lcUniConv/iso8859_1.h \
+ lcUniConv/iso8859_10.h \
+ lcUniConv/iso8859_11.h \
+ lcUniConv/iso8859_13.h \
+ lcUniConv/iso8859_14.h \
+ lcUniConv/iso8859_15.h \
+ lcUniConv/iso8859_16.h \
+ lcUniConv/iso8859_2.h \
+ lcUniConv/iso8859_3.h \
+ lcUniConv/iso8859_4.h \
+ lcUniConv/iso8859_5.h \
+ lcUniConv/iso8859_6.h \
+ lcUniConv/iso8859_7.h \
+ lcUniConv/iso8859_8.h \
+ lcUniConv/iso8859_9.h \
+ lcUniConv/iso8859_9e.h \
+ lcUniConv/jisx0201.h \
+ lcUniConv/jisx0208.h \
+ lcUniConv/jisx0212.h \
+ lcUniConv/koi8_c.h \
+ lcUniConv/koi8_r.h \
+ lcUniConv/koi8_u.h \
+ lcUniConv/ksc5601.h \
+ lcUniConv/mulelao.h \
+ lcUniConv/tatar_cyr.h \
+ lcUniConv/tcvn.h \
+ lcUniConv/tis620.h \
+ lcUniConv/ucs2be.h \
+ lcUniConv/utf8.h \
+ lcUniConv/viscii.h
+
+X11_SRCS= \
+ AllCells.c \
+ AllPlanes.c \
+ AutoRep.c \
+ BdrWidth.c \
+ Border.c \
+ ChAccCon.c \
+ ChCmap.c \
+ ChGC.c \
+ ChKeyCon.c \
+ ChProp.c \
+ ChWAttrs.c \
+ ChkIfEv.c \
+ ChkMaskEv.c \
+ ChkTypEv.c \
+ ChkTypWEv.c \
+ ChkWinEv.c \
+ CirWin.c \
+ CirWinDn.c \
+ CirWinUp.c \
+ ClDisplay.c \
+ Context.c \
+ CopyCmap.c \
+ CopyGC.c \
+ CrBFData.c \
+ CrCmap.c \
+ CrCursor.c \
+ CrGC.c \
+ CrGlCur.c \
+ CrPFBData.c \
+ ChSaveSet.c \
+ CrWindow.c \
+ Cursor.c \
+ Depths.c \
+ DisName.c \
+ DrArc.c \
+ DrArcs.c \
+ DrLines.c \
+ DrPoints.c \
+ DrRect.c \
+ DrRects.c \
+ DrSegs.c \
+ ErrDes.c \
+ ErrHndlr.c \
+ EvToWire.c \
+ FSSaver.c \
+ FSWrap.c \
+ FetchName.c \
+ FillArc.c \
+ FillArcs.c \
+ FillRct.c \
+ FillRcts.c \
+ FilterEv.c \
+ Flush.c \
+ Font.c \
+ FontInfo.c \
+ FontNames.c \
+ FreeEData.c \
+ FreeGC.c \
+ GCMisc.c \
+ Geom.c \
+ GetAtomNm.c \
+ GetColor.c \
+ GetDflt.c \
+ GetFPath.c \
+ GetFProp.c \
+ GetGCVals.c \
+ GetGeom.c \
+ GetHColor.c \
+ GetHints.c \
+ GetIFocus.c \
+ GetImage.c \
+ GetKCnt.c \
+ GetMoEv.c \
+ GetNrmHint.c \
+ GetPCnt.c \
+ GetPntMap.c \
+ GetProp.c \
+ GetRGBCMap.c \
+ GetSOwner.c \
+ GetSSaver.c \
+ GetStCmap.c \
+ GetTxtProp.c \
+ GetWAttrs.c \
+ GetWMCMapW.c \
+ GetWMProto.c \
+ GrKeybd.c \
+ GrPointer.c \
+ Host.c \
+ Iconify.c \
+ IfEvent.c \
+ ImText.c \
+ ImText16.c \
+ ImUtil.c \
+ ImUtil.h \
+ InitExt.c \
+ IntAtom.c \
+ KeyBind.c \
+ KeysymStr.c \
+ LiHosts.c \
+ LiICmaps.c \
+ LiProps.c \
+ ListExt.c \
+ LoadFont.c \
+ LookupCol.c \
+ LowerWin.c \
+ Macros.c \
+ MapRaised.c \
+ MaskEvent.c \
+ Misc.c \
+ ModMap.c \
+ NextEvent.c \
+ OCWrap.c \
+ OMWrap.c \
+ OpenDis.c \
+ ParseCmd.c \
+ ParseCol.c \
+ ParseGeom.c \
+ PeekEvent.c \
+ PeekIfEv.c \
+ Pending.c \
+ PixFormats.c \
+ PmapBord.c \
+ PolyReg.c \
+ PolyTxt.c \
+ PolyTxt16.c \
+ PropAlloc.c \
+ PutBEvent.c \
+ PutImage.c \
+ QuBest.c \
+ QuColor.c \
+ QuColors.c \
+ QuCurShp.c \
+ QuExt.c \
+ QuKeybd.c \
+ QuPntr.c \
+ QuStipShp.c \
+ QuTextE16.c \
+ QuTextExt.c \
+ QuTileShp.c \
+ QuTree.c \
+ Quarks.c \
+ RaiseWin.c \
+ RdBitF.c \
+ RecolorC.c \
+ ReconfWM.c \
+ ReconfWin.c \
+ Region.c \
+ RegstFlt.c \
+ RestackWs.c \
+ RotProp.c \
+ ScrResStr.c \
+ SendEvent.c \
+ SetBack.c \
+ SetCRects.c \
+ SetClMask.c \
+ SetClOrig.c \
+ SetDashes.c \
+ SetFPath.c \
+ SetFont.c \
+ SetFore.c \
+ SetFunc.c \
+ SetHints.c \
+ SetLStyle.c \
+ SetLocale.c \
+ SetNrmHint.c \
+ SetPMask.c \
+ SetPntMap.c \
+ SetRGBCMap.c \
+ SetStCmap.c \
+ SetState.c \
+ SetStip.c \
+ SetTSOrig.c \
+ SetTile.c \
+ SetTxtProp.c \
+ SetWMCMapW.c \
+ SetWMProto.c \
+ StBytes.c \
+ StColor.c \
+ StColors.c \
+ StNColor.c \
+ StName.c \
+ StrKeysym.c \
+ StrToText.c \
+ Sync.c \
+ Synchro.c \
+ Text.c \
+ Text16.c \
+ TextExt.c \
+ TextExt16.c \
+ TextToStr.c \
+ TrCoords.c \
+ UndefCurs.c \
+ VisUtil.c \
+ WMGeom.c \
+ WMProps.c \
+ WinEvent.c \
+ Window.c \
+ Withdraw.c \
+ WrBitF.c \
+ XlibAsync.c \
+ XlibInt.c \
+ Xrm.c \
+ evtomask.c \
+ globals.c \
+ locking.c \
+ Cr.h \
+ Key.h \
+ Xatomtype.h \
+ Xintatom.h \
+ Xintconn.h \
+ XomGeneric.h \
+ Xresinternal.h \
+ XrmI.h \
+ locking.h \
+ poly.h
+
+x11datadir = @X11_DATADIR@
+
+x11data_DATA = XKeysymDB XErrorDB
+
+EXTRA_DIST = \
+ $(X11_SRCS) \
+ $(XI18N_SRCS) \
+ $(XCMS_SRCS) \
+ X18NCMSstubs.c \
+ $(x11data_DATA)
+
+libX11_la_SOURCES = $(X11_SRCS)
+
+libX11_la_SOURCES += \
+ ConnDis.c \
+ LockDis.c \
+ AllowEv.c \
+ Backgnd.c \
+ Bell.c \
+ ChActPGb.c \
+ ChClMode.c \
+ ChPntCon.c \
+ ChWindow.c \
+ Clear.c \
+ ClearArea.c \
+ ConfWind.c \
+ ConvSel.c \
+ CopyArea.c \
+ CopyPlane.c \
+ CrPixmap.c \
+ DefCursor.c \
+ DelProp.c \
+ DestSubs.c \
+ DestWind.c \
+ DrLine.c \
+ DrPoint.c \
+ FillPoly.c \
+ FreeCmap.c \
+ FreeCols.c \
+ FreeCurs.c \
+ FreePix.c \
+ GrButton.c \
+ GrKey.c \
+ GrServer.c \
+ InsCmap.c \
+ KillCl.c \
+ MapSubs.c \
+ MapWindow.c \
+ MoveWin.c \
+ PmapBgnd.c \
+ RepWindow.c \
+ SelInput.c \
+ SetIFocus.c \
+ SetSOwner.c \
+ SetSSaver.c \
+ UngrabBut.c \
+ UngrabKbd.c \
+ UngrabKey.c \
+ UngrabPtr.c \
+ UngrabSvr.c \
+ UninsCmap.c \
+ UnldFont.c \
+ UnmapSubs.c \
+ UnmapWin.c \
+ WarpPtr.c \
+ x11_trans.c \
+ x11_trans.h
+
+if DISABLE_XLOCALE
+libX11_la_SOURCES+= X18NCMSstubs.c
+else
+libX11_la_SOURCES+= $(XI18N_SRCS)
+endif
+
+if DISABLE_XCMS
+if !DISABLE_XLOCALE
+libX11_la_SOURCES+= X18NCMSstubs.c
+endif
+else
+libX11_la_SOURCES+= $(XCMS_SRCS)
+endif
+
+if OS2
+libX11_la_SOURCES+=os2Stubs.c
+endif OS2
+
+if UDC
+libX11_la_SOURCES+=udcInf.c
+endif
+
+if XKB
+libX11_la_SOURCES+=XKB.c XKBBind.c XKBCompat.c XKBCtrls.c XKBCvt.c XKBGetMap.c \
+ XKBGetByName.c XKBNames.c XKBRdBuf.c XKBSetMap.c XKBUse.c \
+ XKBleds.c XKBBell.c XKBGeom.c XKBSetGeom.c XKBExtDev.c \
+ XKBList.c XKBMisc.c \
+ XKBMAlloc.c XKBGAlloc.c XKBAlloc.c \
+ XKBlibint.h
+endif XKB
+
+preprocess: $(patsubst %.c,%.ii,$(libX11_la_SOURCES))
+.c.ii:
+ $(COMPILE) -E -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+KEYSYMDEF=@KEYSYMDEF@
+
+ks_tables.h: $(KEYSYMDEF) $(top_builddir)/src/util/makekeys$(EXEEXT)
+ $(top_builddir)/src/util/makekeys < $(KEYSYMDEF) > ks_tables_h
+ mv ks_tables_h $@
+
+$(top_builddir)/src/util/makekeys$(EXEEXT): force
+ cd util; $(MAKE)
+
+force:
diff --git a/src/MapRaised.c b/src/MapRaised.c
index fc98179d..444c99d1 100644
--- a/src/MapRaised.c
+++ b/src/MapRaised.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/MapRaised.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/MapSubs.c b/src/MapSubs.c
index 8c07b7d5..f3e11ebd 100644
--- a/src/MapSubs.c
+++ b/src/MapSubs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/MapSubs.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/MapWindow.c b/src/MapWindow.c
index 5258fd91..d40bff2b 100644
--- a/src/MapWindow.c
+++ b/src/MapWindow.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/MapWindow.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/MaskEvent.c b/src/MaskEvent.c
index 94db3ae2..c5f41b54 100644
--- a/src/MaskEvent.c
+++ b/src/MaskEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/MaskEvent.c,v 3.5 2001/10/28 03:32:30 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
extern long const _Xevent_to_mask[];
diff --git a/src/Misc.c b/src/Misc.c
index bd017bad..5c3499a5 100644
--- a/src/Misc.c
+++ b/src/Misc.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Misc.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
long XMaxRequestSize(dpy)
diff --git a/src/ModMap.c b/src/ModMap.c
index 8740bd82..f321c81b 100644
--- a/src/ModMap.c
+++ b/src/ModMap.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ModMap.c,v 1.4 2001/12/14 19:54:03 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
XModifierKeymap *
diff --git a/src/MoveWin.c b/src/MoveWin.c
index c693065b..d3c4f882 100644
--- a/src/MoveWin.c
+++ b/src/MoveWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/MoveWin.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/NextEvent.c b/src/NextEvent.c
index 82805b57..1c908065 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/NextEvent.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/OCWrap.c b/src/OCWrap.c
index bd74f1e1..63ffc421 100644
--- a/src/OCWrap.c
+++ b/src/OCWrap.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/OCWrap.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/OMWrap.c b/src/OMWrap.c
index 988b63a5..8f8a1fd9 100644
--- a/src/OMWrap.c
+++ b/src/OMWrap.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/OMWrap.c,v 1.4 2001/07/25 15:04:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/OpenDis.c b/src/OpenDis.c
index ea37260a..702698e6 100644
--- a/src/OpenDis.c
+++ b/src/OpenDis.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
#define NEED_REPLIES
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xtrans.h>
#include <X11/Xatom.h>
diff --git a/src/ParseCmd.c b/src/ParseCmd.c
index 7fd54246..ddcbf784 100644
--- a/src/ParseCmd.c
+++ b/src/ParseCmd.c
@@ -57,6 +57,9 @@ SOFTWARE.
other options appearing before the longer version in the table.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xresource.h>
#include <stdio.h>
diff --git a/src/ParseCol.c b/src/ParseCol.c
index 018f79e1..3736fada 100644
--- a/src/ParseCol.c
+++ b/src/ParseCol.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/ParseCol.c,v 1.6 2003/04/13 19:22:17 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/ParseGeom.c b/src/ParseGeom.c
index c00dc21a..6aaaccf0 100644
--- a/src/ParseGeom.c
+++ b/src/ParseGeom.c
@@ -29,6 +29,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/ParseGeom.c,v 1.3 2001/12/14 19:54:03 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
diff --git a/src/PeekEvent.c b/src/PeekEvent.c
index 4e2a61df..b89c6c95 100644
--- a/src/PeekEvent.c
+++ b/src/PeekEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/PeekEvent.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/PeekIfEv.c b/src/PeekIfEv.c
index 313c6981..beb991a0 100644
--- a/src/PeekIfEv.c
+++ b/src/PeekIfEv.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/PeekIfEv.c,v 1.4 2001/12/14 19:54:03 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/Pending.c b/src/Pending.c
index 55e5e71b..480ec6cf 100644
--- a/src/Pending.c
+++ b/src/Pending.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* Read in pending events if needed and return the number of queued events. */
diff --git a/src/PixFormats.c b/src/PixFormats.c
index a8b74b1e..dc3a2387 100644
--- a/src/PixFormats.c
+++ b/src/PixFormats.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <stdio.h>
diff --git a/src/PmapBgnd.c b/src/PmapBgnd.c
index 18931949..3333cd96 100644
--- a/src/PmapBgnd.c
+++ b/src/PmapBgnd.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PmapBgnd.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/PmapBord.c b/src/PmapBord.c
index cd5fc6c9..a81adc13 100644
--- a/src/PmapBord.c
+++ b/src/PmapBord.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PmapBord.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/PolyReg.c b/src/PolyReg.c
index 90bec77e..79c38874 100644
--- a/src/PolyReg.c
+++ b/src/PolyReg.c
@@ -50,6 +50,9 @@ SOFTWARE.
#define LARGE_COORDINATE 1000000
#define SMALL_COORDINATE -LARGE_COORDINATE
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#include "region.h"
diff --git a/src/PolyTxt.c b/src/PolyTxt.c
index bd885266..f66b1046 100644
--- a/src/PolyTxt.c
+++ b/src/PolyTxt.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PolyTxt.c,v 3.5 2001/10/28 03:32:30 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/PolyTxt16.c b/src/PolyTxt16.c
index c7dce509..ddaa62d0 100644
--- a/src/PolyTxt16.c
+++ b/src/PolyTxt16.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PolyTxt16.c,v 1.4 2001/10/28 03:32:31 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/PropAlloc.c b/src/PropAlloc.c
index 96c92bbf..9005a24f 100644
--- a/src/PropAlloc.c
+++ b/src/PropAlloc.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PropAlloc.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#include <stdio.h>
diff --git a/src/PutBEvent.c b/src/PutBEvent.c
index c8499360..8c1db72a 100644
--- a/src/PutBEvent.c
+++ b/src/PutBEvent.c
@@ -30,6 +30,9 @@ from The Open Group.
/* XPutBackEvent puts an event back at the head of the queue. */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/PutImage.c b/src/PutImage.c
index 415255a2..b4402940 100644
--- a/src/PutImage.c
+++ b/src/PutImage.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PutImage.c,v 3.11 2002/12/09 04:10:56 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#include <stdio.h>
diff --git a/src/QuBest.c b/src/QuBest.c
index ac857af4..7fe21814 100644
--- a/src/QuBest.c
+++ b/src/QuBest.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XQueryBestSize(dpy, class, drawable, width, height, ret_width, ret_height)
diff --git a/src/QuColor.c b/src/QuColor.c
index d7da47e8..9b6901e8 100644
--- a/src/QuColor.c
+++ b/src/QuColor.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuColor.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/QuColors.c b/src/QuColors.c
index 1603a56f..74a1de85 100644
--- a/src/QuColors.c
+++ b/src/QuColors.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuColors.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/QuCurShp.c b/src/QuCurShp.c
index 3dd42be1..b2667231 100644
--- a/src/QuCurShp.c
+++ b/src/QuCurShp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XQueryBestCursor(dpy, drawable, width, height, ret_width, ret_height)
diff --git a/src/QuExt.c b/src/QuExt.c
index 686334e0..19d8be5d 100644
--- a/src/QuExt.c
+++ b/src/QuExt.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86$ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Bool
diff --git a/src/QuKeybd.c b/src/QuKeybd.c
index 4a7b8fba..62691c04 100644
--- a/src/QuKeybd.c
+++ b/src/QuKeybd.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuKeybd.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
struct kmap {
diff --git a/src/QuPntr.c b/src/QuPntr.c
index d0b04c1b..006553d7 100644
--- a/src/QuPntr.c
+++ b/src/QuPntr.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Bool XQueryPointer(dpy, w, root, child, root_x, root_y, win_x, win_y, mask)
diff --git a/src/QuStipShp.c b/src/QuStipShp.c
index 81996fc4..0d7c00d7 100644
--- a/src/QuStipShp.c
+++ b/src/QuStipShp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XQueryBestStipple(dpy, drawable, width, height, ret_width, ret_height)
diff --git a/src/QuTextE16.c b/src/QuTextE16.c
index 58003f49..ee381727 100644
--- a/src/QuTextE16.c
+++ b/src/QuTextE16.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuTextE16.c,v 1.4 2001/12/14 19:54:04 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/QuTextExt.c b/src/QuTextExt.c
index 3ab18138..a144865c 100644
--- a/src/QuTextExt.c
+++ b/src/QuTextExt.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuTextExt.c,v 1.4 2001/12/14 19:54:04 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/QuTileShp.c b/src/QuTileShp.c
index 1c15d17b..5e23ae2f 100644
--- a/src/QuTileShp.c
+++ b/src/QuTileShp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XQueryBestTile(dpy, drawable, width, height, ret_width, ret_height)
diff --git a/src/QuTree.c b/src/QuTree.c
index bb7307a1..1a743284 100644
--- a/src/QuTree.c
+++ b/src/QuTree.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/QuTree.c,v 1.5 2001/01/17 19:41:42 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Status XQueryTree (dpy, w, root, parent, children, nchildren)
diff --git a/src/Quarks.c b/src/Quarks.c
index 70f6f492..a5ffa8ac 100644
--- a/src/Quarks.c
+++ b/src/Quarks.c
@@ -51,6 +51,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/Quarks.c,v 1.6 2003/04/13 19:22:17 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xresource.h>
#include "Xresinternal.h"
diff --git a/src/RaiseWin.c b/src/RaiseWin.c
index a11aed8b..15d03fac 100644
--- a/src/RaiseWin.c
+++ b/src/RaiseWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/RaiseWin.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/RdBitF.c b/src/RdBitF.c
index b2826966..198e0e4a 100644
--- a/src/RdBitF.c
+++ b/src/RdBitF.c
@@ -43,6 +43,9 @@ from The Open Group.
* without the other).
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xos.h>
#include "Xutil.h"
diff --git a/src/RecolorC.c b/src/RecolorC.c
index 3066d1ad..0bd46d61 100644
--- a/src/RecolorC.c
+++ b/src/RecolorC.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/RecolorC.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ReconfWM.c b/src/ReconfWM.c
index c1a6cfb6..ecb5f6a8 100644
--- a/src/ReconfWM.c
+++ b/src/ReconfWM.c
@@ -29,6 +29,9 @@ from The Open Group.
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define AllMaskBits (CWX|CWY|CWWidth|CWHeight|\
diff --git a/src/ReconfWin.c b/src/ReconfWin.c
index ef536ff3..1aaa652d 100644
--- a/src/ReconfWin.c
+++ b/src/ReconfWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ReconfWin.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define AllMaskBits (CWX|CWY|CWWidth|CWHeight|\
diff --git a/src/Region.c b/src/Region.c
index 79fb8e8b..a61220e0 100644
--- a/src/Region.c
+++ b/src/Region.c
@@ -72,6 +72,9 @@ SOFTWARE.
* the y-x-banding that's so nice to have...
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#include "region.h"
diff --git a/src/RegstFlt.c b/src/RegstFlt.c
index e3702bae..0648a54d 100644
--- a/src/RegstFlt.c
+++ b/src/RegstFlt.c
@@ -54,6 +54,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/RegstFlt.c,v 1.5 2003/04/13 19:22:17 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/RepWindow.c b/src/RepWindow.c
index 2193220d..b30340e0 100644
--- a/src/RepWindow.c
+++ b/src/RepWindow.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/RepWindow.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/RestackWs.c b/src/RestackWs.c
index 8060f17a..1887e7c7 100644
--- a/src/RestackWs.c
+++ b/src/RestackWs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/RestackWs.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/RotProp.c b/src/RotProp.c
index 4020606f..a8f81195 100644
--- a/src/RotProp.c
+++ b/src/RotProp.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/RotProp.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/ScrResStr.c b/src/ScrResStr.c
index bd996871..89f77178 100644
--- a/src/ScrResStr.c
+++ b/src/ScrResStr.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xatom.h>
diff --git a/src/SelInput.c b/src/SelInput.c
index 5a8870e4..e517a5c6 100644
--- a/src/SelInput.c
+++ b/src/SelInput.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SelInput.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SendEvent.c b/src/SendEvent.c
index 6d7d6229..06e23a5c 100644
--- a/src/SendEvent.c
+++ b/src/SendEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/SendEvent.c,v 1.4 2001/12/14 19:54:05 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/*
diff --git a/src/SetBack.c b/src/SetBack.c
index 6c207f7d..037933f1 100644
--- a/src/SetBack.c
+++ b/src/SetBack.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetBack.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetCRects.c b/src/SetCRects.c
index 194998c3..a8dcf664 100644
--- a/src/SetCRects.c
+++ b/src/SetCRects.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetCRects.c,v 1.4 2001/12/14 19:54:06 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* can only call when display is locked. */
diff --git a/src/SetClMask.c b/src/SetClMask.c
index 2503aef5..f9fb051f 100644
--- a/src/SetClMask.c
+++ b/src/SetClMask.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetClMask.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetClOrig.c b/src/SetClOrig.c
index 659c9a8a..60f0346e 100644
--- a/src/SetClOrig.c
+++ b/src/SetClOrig.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetClOrig.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetDashes.c b/src/SetDashes.c
index 9fd0472f..6ecf955d 100644
--- a/src/SetDashes.c
+++ b/src/SetDashes.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetDashes.c,v 1.4 2001/12/14 19:54:06 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetFPath.c b/src/SetFPath.c
index 09441df0..086c657d 100644
--- a/src/SetFPath.c
+++ b/src/SetFPath.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetFPath.c,v 1.5 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define safestrlen(s) ((s) ? strlen(s) : 0)
diff --git a/src/SetFont.c b/src/SetFont.c
index 9a8e67db..089960d7 100644
--- a/src/SetFont.c
+++ b/src/SetFont.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetFont.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetFore.c b/src/SetFore.c
index e938d8fa..62ffb8fd 100644
--- a/src/SetFore.c
+++ b/src/SetFore.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetFore.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetFunc.c b/src/SetFunc.c
index c0041317..a253266d 100644
--- a/src/SetFunc.c
+++ b/src/SetFunc.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetFunc.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetHints.c b/src/SetHints.c
index ffa5ebe9..5ee34435 100644
--- a/src/SetHints.c
+++ b/src/SetHints.c
@@ -48,6 +48,9 @@ SOFTWARE.
******************************************************************/
/* $XFree86: xc/lib/X11/SetHints.c,v 1.4 2001/12/14 19:54:06 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/SetIFocus.c b/src/SetIFocus.c
index 2e0eb1d9..4f42908f 100644
--- a/src/SetIFocus.c
+++ b/src/SetIFocus.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetIFocus.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetLStyle.c b/src/SetLStyle.c
index 9f0c8c5e..74233d0b 100644
--- a/src/SetLStyle.c
+++ b/src/SetLStyle.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetLStyle.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetLocale.c b/src/SetLocale.c
index 49ec0d32..c24a381c 100644
--- a/src/SetLocale.c
+++ b/src/SetLocale.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: lib/X11/src/SetLocale.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/SetLocale.c,v 1.3 2005-05-13 22:53:44 sandmann Exp $ */
/* $Xorg: SetLocale.c,v 1.4 2001/02/09 02:03:36 xorgcvs Exp $ */
/*
@@ -58,6 +58,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetLocale.c,v 3.20 2003/11/17 22:20:08 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
#include <X11/Xlocale.h>
diff --git a/src/SetNrmHint.c b/src/SetNrmHint.c
index d8511a6f..64b0ef7f 100644
--- a/src/SetNrmHint.c
+++ b/src/SetNrmHint.c
@@ -51,6 +51,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/SetPMask.c b/src/SetPMask.c
index 6c4b826c..268ef4fd 100644
--- a/src/SetPMask.c
+++ b/src/SetPMask.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetPMask.c,v 1.3 2001/01/17 19:41:43 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetPntMap.c b/src/SetPntMap.c
index 7942537b..4a98ad48 100644
--- a/src/SetPntMap.c
+++ b/src/SetPntMap.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* returns either DeviceMappingSuccess or DeviceMappingBusy */
diff --git a/src/SetRGBCMap.c b/src/SetRGBCMap.c
index 0523f0ba..4be840b7 100644
--- a/src/SetRGBCMap.c
+++ b/src/SetRGBCMap.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/SetSOwner.c b/src/SetSOwner.c
index 40481ded..f692cce7 100644
--- a/src/SetSOwner.c
+++ b/src/SetSOwner.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetSOwner.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetSSaver.c b/src/SetSSaver.c
index cea64f25..43fd4dfa 100644
--- a/src/SetSSaver.c
+++ b/src/SetSSaver.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetSSaver.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetStCmap.c b/src/SetStCmap.c
index 86ff4c8e..b5a93e36 100644
--- a/src/SetStCmap.c
+++ b/src/SetStCmap.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include "Xatomtype.h"
diff --git a/src/SetState.c b/src/SetState.c
index ecd51901..a13f11bf 100644
--- a/src/SetState.c
+++ b/src/SetState.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetState.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetStip.c b/src/SetStip.c
index cb2ed999..41ebdad2 100644
--- a/src/SetStip.c
+++ b/src/SetStip.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetStip.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetTSOrig.c b/src/SetTSOrig.c
index d72e5cae..c75707ed 100644
--- a/src/SetTSOrig.c
+++ b/src/SetTSOrig.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetTSOrig.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetTile.c b/src/SetTile.c
index 58ba8d90..d9ca8115 100644
--- a/src/SetTile.c
+++ b/src/SetTile.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetTile.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/SetTxtProp.c b/src/SetTxtProp.c
index 73bee7e1..a82d9b3e 100644
--- a/src/SetTxtProp.c
+++ b/src/SetTxtProp.c
@@ -49,6 +49,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
diff --git a/src/SetWMCMapW.c b/src/SetWMCMapW.c
index bf56a023..dd88061d 100644
--- a/src/SetWMCMapW.c
+++ b/src/SetWMCMapW.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xatom.h>
diff --git a/src/SetWMProto.c b/src/SetWMProto.c
index 15ebd76a..8640e506 100644
--- a/src/SetWMProto.c
+++ b/src/SetWMProto.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xatom.h>
diff --git a/src/StBytes.c b/src/StBytes.c
index 5daa3536..b2390258 100644
--- a/src/StBytes.c
+++ b/src/StBytes.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StBytes.c,v 1.4 2001/12/14 19:54:07 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
diff --git a/src/StColor.c b/src/StColor.c
index 10387873..b2b197a9 100644
--- a/src/StColor.c
+++ b/src/StColor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StColor.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/StColors.c b/src/StColors.c
index 3ad030fa..16d634bf 100644
--- a/src/StColors.c
+++ b/src/StColors.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StColors.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/StNColor.c b/src/StNColor.c
index 0ffbdc12..f7dbcb06 100644
--- a/src/StNColor.c
+++ b/src/StNColor.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StNColor.c,v 1.5 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/StName.c b/src/StName.c
index 051bdda4..ba01ffb0 100644
--- a/src/StName.c
+++ b/src/StName.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StName.c,v 1.4 2001/12/14 19:54:07 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
diff --git a/src/StrKeysym.c b/src/StrKeysym.c
index 8cb2cd51..b6874d37 100644
--- a/src/StrKeysym.c
+++ b/src/StrKeysym.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/StrKeysym.c,v 3.7 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xresource.h>
#include <X11/keysymdef.h>
diff --git a/src/StrToText.c b/src/StrToText.c
index c84c0714..ba894e16 100644
--- a/src/StrToText.c
+++ b/src/StrToText.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
diff --git a/src/Sync.c b/src/Sync.c
index ae423d09..6e9f300d 100644
--- a/src/Sync.c
+++ b/src/Sync.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
#define NEED_REPLIES
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
/* Synchronize with errors and events, optionally discarding pending events */
diff --git a/src/Synchro.c b/src/Synchro.c
index 8c84f504..2688e79c 100644
--- a/src/Synchro.c
+++ b/src/Synchro.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Synchro.c,v 1.3 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
diff --git a/src/Text.c b/src/Text.c
index 23a57534..95ad0d9d 100644
--- a/src/Text.c
+++ b/src/Text.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Text.c,v 1.4 2001/12/14 19:54:07 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/Text16.c b/src/Text16.c
index 2eee708b..96d5911d 100644
--- a/src/Text16.c
+++ b/src/Text16.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Text16.c,v 1.5 2001/12/14 19:54:07 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/TextExt.c b/src/TextExt.c
index 1e6b1dce..fc703011 100644
--- a/src/TextExt.c
+++ b/src/TextExt.c
@@ -34,6 +34,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define min_byte2 min_char_or_byte2
diff --git a/src/TextExt16.c b/src/TextExt16.c
index 9b4899cb..763350a1 100644
--- a/src/TextExt16.c
+++ b/src/TextExt16.c
@@ -34,6 +34,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#define min_byte2 min_char_or_byte2
diff --git a/src/TextToStr.c b/src/TextToStr.c
index c775fa6e..0bea8096 100644
--- a/src/TextToStr.c
+++ b/src/TextToStr.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/TextToStr.c,v 1.4 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
diff --git a/src/TrCoords.c b/src/TrCoords.c
index 2363248d..87ae4ae4 100644
--- a/src/TrCoords.c
+++ b/src/TrCoords.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
Bool XTranslateCoordinates(dpy, src_win, dest_win, src_x, src_y,
diff --git a/src/UIThrStubs.c b/src/UIThrStubs.c
index 27df98fd..13df9e7c 100644
--- a/src/UIThrStubs.c
+++ b/src/UIThrStubs.c
@@ -49,6 +49,9 @@
*/
#ifdef CTHREADS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <cthreads.h>
typedef cthread_t xthread_t;
#define xthread_self cthread_self
diff --git a/src/UndefCurs.c b/src/UndefCurs.c
index ced35187..6382a833 100644
--- a/src/UndefCurs.c
+++ b/src/UndefCurs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UndefCurs.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UngrabBut.c b/src/UngrabBut.c
index 4f1e12d0..82b17910 100644
--- a/src/UngrabBut.c
+++ b/src/UngrabBut.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UngrabBut.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UngrabKbd.c b/src/UngrabKbd.c
index b4720a49..03d24b93 100644
--- a/src/UngrabKbd.c
+++ b/src/UngrabKbd.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UngrabKbd.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UngrabKey.c b/src/UngrabKey.c
index 4f001d2e..66c691f9 100644
--- a/src/UngrabKey.c
+++ b/src/UngrabKey.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UngrabKey.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UngrabPtr.c b/src/UngrabPtr.c
index 1d6a02ea..42890ff8 100644
--- a/src/UngrabPtr.c
+++ b/src/UngrabPtr.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UngrabPtr.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UngrabSvr.c b/src/UngrabSvr.c
index 6ec8ccef..19764f65 100644
--- a/src/UngrabSvr.c
+++ b/src/UngrabSvr.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UngrabSvr.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UninsCmap.c b/src/UninsCmap.c
index cd9af166..9a3d998b 100644
--- a/src/UninsCmap.c
+++ b/src/UninsCmap.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UninsCmap.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UnldFont.c b/src/UnldFont.c
index aafd9041..f90291e6 100644
--- a/src/UnldFont.c
+++ b/src/UnldFont.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UnldFont.c,v 1.5 2001/12/14 19:54:07 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UnmapSubs.c b/src/UnmapSubs.c
index 56e30b7e..503a6c9e 100644
--- a/src/UnmapSubs.c
+++ b/src/UnmapSubs.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UnmapSubs.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/UnmapWin.c b/src/UnmapWin.c
index da0e895c..1a9cc0c2 100644
--- a/src/UnmapWin.c
+++ b/src/UnmapWin.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/UnmapWin.c,v 1.3 2001/01/17 19:41:45 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/VisUtil.c b/src/VisUtil.c
index 92cdd93f..304317ae 100644
--- a/src/VisUtil.c
+++ b/src/VisUtil.c
@@ -25,6 +25,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
#include <stdio.h>
diff --git a/src/WMGeom.c b/src/WMGeom.c
index 7eb945f7..59041a9f 100644
--- a/src/WMGeom.c
+++ b/src/WMGeom.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/WMGeom.c,v 1.3 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xutil.h"
diff --git a/src/WMProps.c b/src/WMProps.c
index 6e4e474c..62c6a8d1 100644
--- a/src/WMProps.c
+++ b/src/WMProps.c
@@ -52,6 +52,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
diff --git a/src/WarpPtr.c b/src/WarpPtr.c
index e83a7e2a..545cc064 100644
--- a/src/WarpPtr.c
+++ b/src/WarpPtr.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/WarpPtr.c,v 1.3 2001/01/17 19:41:47 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
int
diff --git a/src/WinEvent.c b/src/WinEvent.c
index d69a6671..67e825cb 100644
--- a/src/WinEvent.c
+++ b/src/WinEvent.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/WinEvent.c,v 3.5 2001/10/28 03:32:32 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
extern long const _Xevent_to_mask[];
diff --git a/src/Window.c b/src/Window.c
index 05628369..10d1b95f 100644
--- a/src/Window.c
+++ b/src/Window.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Window.c,v 1.4 2001/12/14 19:54:08 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
void _XProcessWindowAttributes (
diff --git a/src/Withdraw.c b/src/Withdraw.c
index e9735a9b..1b771c28 100644
--- a/src/Withdraw.c
+++ b/src/Withdraw.c
@@ -51,6 +51,9 @@ from The Open Group.
*/
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xos.h>
diff --git a/src/WrBitF.c b/src/WrBitF.c
index f57bd930..d8c9f18f 100644
--- a/src/WrBitF.c
+++ b/src/WrBitF.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/WrBitF.c,v 3.6 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xos.h>
#include "Xutil.h"
diff --git a/src/XlibAsync.c b/src/XlibAsync.c
index 066e12e7..a0314ba8 100644
--- a/src/XlibAsync.c
+++ b/src/XlibAsync.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xos.h>
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 17ed4cce..b5770d95 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -38,6 +38,9 @@ from The Open Group.
#ifdef WIN32
#define _XLIBINT_
#endif
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/Xpoll.h>
#include <X11/Xtrans.h>
diff --git a/src/Xrm.c b/src/Xrm.c
index 08ecd793..a932a5ce 100644
--- a/src/Xrm.c
+++ b/src/Xrm.c
@@ -51,6 +51,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/Xrm.c,v 3.22 2003/07/16 01:38:26 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <ctype.h>
#include "Xlibint.h"
diff --git a/src/bigreqstr.h b/src/bigreqstr.h
new file mode 100644
index 00000000..dc333095
--- /dev/null
+++ b/src/bigreqstr.h
@@ -0,0 +1 @@
+#include <X11/extensions/bigreqstr.h>
diff --git a/src/evtomask.c b/src/evtomask.c
index 1ce018cd..fbbb998d 100644
--- a/src/evtomask.c
+++ b/src/evtomask.c
@@ -26,6 +26,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/evtomask.c,v 3.4 2001/07/29 05:01:11 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/X.h>
/*
diff --git a/src/globals.c b/src/globals.c
index 0fa860dc..11965cb5 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -35,6 +35,9 @@ from The Open Group.
* This file should contain only those objects which must be predefined.
*/
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
diff --git a/src/imConv.c b/src/imConv.c
index e0015716..f519401e 100644
--- a/src/imConv.c
+++ b/src/imConv.c
@@ -36,6 +36,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* $XFree86: xc/lib/X11/imConv.c,v 1.32 2003/04/13 19:22:20 dawes Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/locking.c b/src/locking.c
index 3508dea8..5312b5d2 100644
--- a/src/locking.c
+++ b/src/locking.c
@@ -32,6 +32,9 @@ in this Software without prior written authorization from The Open Group.
* locking.c - multi-thread locking routines implemented in C Threads
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#undef _XLockMutex
#undef _XUnlockMutex
diff --git a/src/os2Stubs.c b/src/os2Stubs.c
index 4fa953cf..9d109025 100644
--- a/src/os2Stubs.c
+++ b/src/os2Stubs.c
@@ -34,6 +34,9 @@
* functions and the "optimized" select() for the clients */
#define I_NEED_OS2_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xpoll.h>
#include <stdio.h>
#include <sys/errno.h>
diff --git a/src/udcInf.c b/src/udcInf.c
index b2a01727..43b1cb02 100644
--- a/src/udcInf.c
+++ b/src/udcInf.c
@@ -35,6 +35,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/udcInf.c,v 1.6 2001/01/17 19:41:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <locale.h>
#include <Xlib.h>
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
new file mode 100644
index 00000000..9c993b93
--- /dev/null
+++ b/src/util/Makefile.am
@@ -0,0 +1,6 @@
+noinst_PROGRAMS=makekeys
+
+makekeys_CFLAGS=$(X11_CFLAGS) $(BIGREQS_CFLAGS)
+
+override CC = gcc
+LINK = gcc $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
diff --git a/src/x11_trans.c b/src/x11_trans.c
new file mode 100644
index 00000000..d6bf5856
--- /dev/null
+++ b/src/x11_trans.c
@@ -0,0 +1,32 @@
+/*
+ * $Id: x11_trans.c,v 3.3 2003/11/01 00:33:15 anholt Exp $
+ *
+ * Copyright © 2003 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of Keith Packard not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. Keith Packard makes no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#define X11_t
+#define TRANS_CLIENT
+#include <transport.c>
+
diff --git a/src/xcms/AddDIC.c b/src/xcms/AddDIC.c
index 22364bec..d2638b1f 100644
--- a/src/xcms/AddDIC.c
+++ b/src/xcms/AddDIC.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/AddSF.c b/src/xcms/AddSF.c
index 39601c2b..3ab0514a 100644
--- a/src/xcms/AddSF.c
+++ b/src/xcms/AddSF.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/CCC.c b/src/xcms/CCC.c
index 20cd3840..7d4a9b1a 100644
--- a/src/xcms/CCC.c
+++ b/src/xcms/CCC.c
@@ -63,6 +63,9 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/CvColW.c b/src/xcms/CvColW.c
index 336f606e..d57a7666 100644
--- a/src/xcms/CvColW.c
+++ b/src/xcms/CvColW.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/CvColW.c,v 1.3 2001/01/17 19:41:34 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/CvCols.c b/src/xcms/CvCols.c
index 6cd805b9..fc343cda 100644
--- a/src/xcms/CvCols.c
+++ b/src/xcms/CvCols.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/CvCols.c,v 1.4 2003/04/13 19:22:15 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVC.c b/src/xcms/HVC.c
index bc08867e..ed446bfd 100644
--- a/src/xcms/HVC.c
+++ b/src/xcms/HVC.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: lib/X11/src/xcms/HVC.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/xcms/HVC.c,v 1.3 2005-05-13 22:53:43 sandmann Exp $ */
/* $Xorg: HVC.c,v 1.3 2000/08/17 19:44:36 cpqbld Exp $ */
/*
@@ -50,6 +50,9 @@
*/
/* $XFree86: xc/lib/X11/HVC.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <X11/Xos.h>
diff --git a/src/xcms/HVCGcC.c b/src/xcms/HVCGcC.c
index dc78bfec..10e0d487 100644
--- a/src/xcms/HVCGcC.c
+++ b/src/xcms/HVCGcC.c
@@ -45,6 +45,9 @@
*/
/* $XFree86: xc/lib/X11/HVCGcC.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVCGcV.c b/src/xcms/HVCGcV.c
index 6b9f92b8..4e2c6368 100644
--- a/src/xcms/HVCGcV.c
+++ b/src/xcms/HVCGcV.c
@@ -45,6 +45,9 @@
*/
/* $XFree86: xc/lib/X11/HVCGcV.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVCGcVC.c b/src/xcms/HVCGcVC.c
index 1286a20e..eef20ae8 100644
--- a/src/xcms/HVCGcVC.c
+++ b/src/xcms/HVCGcVC.c
@@ -45,6 +45,9 @@
*/
/* $XFree86: xc/lib/X11/HVCGcVC.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/HVCMnV.c b/src/xcms/HVCMnV.c
index c730d088..63a51088 100644
--- a/src/xcms/HVCMnV.c
+++ b/src/xcms/HVCMnV.c
@@ -45,6 +45,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVCMxC.c b/src/xcms/HVCMxC.c
index 636e6d39..64e7713e 100644
--- a/src/xcms/HVCMxC.c
+++ b/src/xcms/HVCMxC.c
@@ -46,6 +46,9 @@
*/
/* $XFree86: xc/lib/X11/HVCMxC.c,v 1.4 2003/04/13 19:22:16 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/HVCMxV.c b/src/xcms/HVCMxV.c
index 331651f1..34acdade 100644
--- a/src/xcms/HVCMxV.c
+++ b/src/xcms/HVCMxV.c
@@ -46,6 +46,9 @@
*/
/* $XFree86: xc/lib/X11/HVCMxV.c,v 1.4 2003/04/13 19:22:16 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/HVCMxVC.c b/src/xcms/HVCMxVC.c
index 18060dba..74183fcf 100644
--- a/src/xcms/HVCMxVC.c
+++ b/src/xcms/HVCMxVC.c
@@ -46,6 +46,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVCMxVs.c b/src/xcms/HVCMxVs.c
index cb843108..d90afa8b 100644
--- a/src/xcms/HVCMxVs.c
+++ b/src/xcms/HVCMxVs.c
@@ -45,6 +45,9 @@
*/
/* $XFree86: xc/lib/X11/HVCMxVs.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/HVCWpAj.c b/src/xcms/HVCWpAj.c
index c61ccbd8..558e90bc 100644
--- a/src/xcms/HVCWpAj.c
+++ b/src/xcms/HVCWpAj.c
@@ -46,6 +46,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/IdOfPr.c b/src/xcms/IdOfPr.c
index 99173afa..a8eda895 100644
--- a/src/xcms/IdOfPr.c
+++ b/src/xcms/IdOfPr.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LRGB.c b/src/xcms/LRGB.c
index 6f8c6fb7..e4bc0b50 100644
--- a/src/xcms/LRGB.c
+++ b/src/xcms/LRGB.c
@@ -37,6 +37,9 @@
*/
/* $XFree86: xc/lib/X11/LRGB.c,v 3.6 2003/04/13 19:22:16 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>
diff --git a/src/xcms/Lab.c b/src/xcms/Lab.c
index fed6115a..596c137f 100644
--- a/src/xcms/Lab.c
+++ b/src/xcms/Lab.c
@@ -39,6 +39,9 @@
/* $XFree86: xc/lib/X11/Lab.c,v 1.3 2001/01/17 19:41:38 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xos.h>
#include <stdio.h> /* sscanf */
#include "Xlibint.h"
diff --git a/src/xcms/LabGcC.c b/src/xcms/LabGcC.c
index 306b811a..e210cd23 100644
--- a/src/xcms/LabGcC.c
+++ b/src/xcms/LabGcC.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LabGcC.c,v 1.3 2001/01/17 19:41:38 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LabGcL.c b/src/xcms/LabGcL.c
index 3311a978..445e4da5 100644
--- a/src/xcms/LabGcL.c
+++ b/src/xcms/LabGcL.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LabGcL.c,v 1.3 2001/01/17 19:41:38 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LabGcLC.c b/src/xcms/LabGcLC.c
index 85b1b001..f0726d93 100644
--- a/src/xcms/LabGcLC.c
+++ b/src/xcms/LabGcLC.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LabGcLC.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LabMnL.c b/src/xcms/LabMnL.c
index dd5f5c1b..8016c4e6 100644
--- a/src/xcms/LabMnL.c
+++ b/src/xcms/LabMnL.c
@@ -33,6 +33,9 @@
*/
/* $XFree86: xc/lib/X11/LabMnL.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LabMxC.c b/src/xcms/LabMxC.c
index d03ed9d8..c57125b3 100644
--- a/src/xcms/LabMxC.c
+++ b/src/xcms/LabMxC.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/LabMxC.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LabMxL.c b/src/xcms/LabMxL.c
index 32f4bdbe..91b3f559 100644
--- a/src/xcms/LabMxL.c
+++ b/src/xcms/LabMxL.c
@@ -33,6 +33,9 @@
*/
/* $XFree86: xc/lib/X11/LabMxL.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LabMxLC.c b/src/xcms/LabMxLC.c
index e806bb19..d4efba34 100644
--- a/src/xcms/LabMxLC.c
+++ b/src/xcms/LabMxLC.c
@@ -40,6 +40,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LabWpAj.c b/src/xcms/LabWpAj.c
index ec2a68d2..38c57d26 100644
--- a/src/xcms/LabWpAj.c
+++ b/src/xcms/LabWpAj.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/Luv.c b/src/xcms/Luv.c
index 17fff09a..ec94c9e5 100644
--- a/src/xcms/Luv.c
+++ b/src/xcms/Luv.c
@@ -40,6 +40,9 @@
*/
/* $XFree86: xc/lib/X11/Luv.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xos.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/LuvGcC.c b/src/xcms/LuvGcC.c
index a945cc8a..ecae0fe6 100644
--- a/src/xcms/LuvGcC.c
+++ b/src/xcms/LuvGcC.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LuvGcC.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LuvGcL.c b/src/xcms/LuvGcL.c
index e2a0aa13..81a553d3 100644
--- a/src/xcms/LuvGcL.c
+++ b/src/xcms/LuvGcL.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LuvGcL.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LuvGcLC.c b/src/xcms/LuvGcLC.c
index c859e37b..a3cc0f68 100644
--- a/src/xcms/LuvGcLC.c
+++ b/src/xcms/LuvGcLC.c
@@ -32,6 +32,9 @@
*/
/* $XFree86: xc/lib/X11/LuvGcLC.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LuvMnL.c b/src/xcms/LuvMnL.c
index 668365db..9938ab49 100644
--- a/src/xcms/LuvMnL.c
+++ b/src/xcms/LuvMnL.c
@@ -33,6 +33,9 @@
*/
/* $XFree86: xc/lib/X11/LuvMnL.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LuvMxC.c b/src/xcms/LuvMxC.c
index 2ff95afb..c77319d1 100644
--- a/src/xcms/LuvMxC.c
+++ b/src/xcms/LuvMxC.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/LuvMxC.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LuvMxL.c b/src/xcms/LuvMxL.c
index 08d01280..d364078a 100644
--- a/src/xcms/LuvMxL.c
+++ b/src/xcms/LuvMxL.c
@@ -33,6 +33,9 @@
*/
/* $XFree86: xc/lib/X11/LuvMxL.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <math.h>
diff --git a/src/xcms/LuvMxLC.c b/src/xcms/LuvMxLC.c
index bb00b713..3f4c2294 100644
--- a/src/xcms/LuvMxLC.c
+++ b/src/xcms/LuvMxLC.c
@@ -40,6 +40,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/LuvWpAj.c b/src/xcms/LuvWpAj.c
index f19bfa5c..c48531a5 100644
--- a/src/xcms/LuvWpAj.c
+++ b/src/xcms/LuvWpAj.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/OfCCC.c b/src/xcms/OfCCC.c
index 20d3a9be..1f963168 100644
--- a/src/xcms/OfCCC.c
+++ b/src/xcms/OfCCC.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlib.h"
#include "Xcms.h"
diff --git a/src/xcms/PrOfId.c b/src/xcms/PrOfId.c
index 84c6166a..d8fe6e9f 100644
--- a/src/xcms/PrOfId.c
+++ b/src/xcms/PrOfId.c
@@ -34,6 +34,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/QBlack.c b/src/xcms/QBlack.c
index c54dccb4..ec044940 100644
--- a/src/xcms/QBlack.c
+++ b/src/xcms/QBlack.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/QBlue.c b/src/xcms/QBlue.c
index 2bca3877..60268519 100644
--- a/src/xcms/QBlue.c
+++ b/src/xcms/QBlue.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/QGreen.c b/src/xcms/QGreen.c
index f7858c32..59bbbd5f 100644
--- a/src/xcms/QGreen.c
+++ b/src/xcms/QGreen.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/QRed.c b/src/xcms/QRed.c
index 136ebc2e..bcd276c2 100644
--- a/src/xcms/QRed.c
+++ b/src/xcms/QRed.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/QWhite.c b/src/xcms/QWhite.c
index 93d37d38..7e58db65 100644
--- a/src/xcms/QWhite.c
+++ b/src/xcms/QWhite.c
@@ -34,6 +34,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/QuCol.c b/src/xcms/QuCol.c
index 3c48467b..0864bc8a 100644
--- a/src/xcms/QuCol.c
+++ b/src/xcms/QuCol.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/QuCol.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/QuCols.c b/src/xcms/QuCols.c
index 3f4350b1..d6c4890e 100644
--- a/src/xcms/QuCols.c
+++ b/src/xcms/QuCols.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/QuCols.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/SetCCC.c b/src/xcms/SetCCC.c
index e8d3a779..8ab0464d 100644
--- a/src/xcms/SetCCC.c
+++ b/src/xcms/SetCCC.c
@@ -35,6 +35,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcms.h"
diff --git a/src/xcms/SetGetCols.c b/src/xcms/SetGetCols.c
index 66477652..03f7a2f7 100644
--- a/src/xcms/SetGetCols.c
+++ b/src/xcms/SetGetCols.c
@@ -39,6 +39,9 @@
* Include files that must be exported to any package or
* program using this package.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/StCol.c b/src/xcms/StCol.c
index 5893d65b..80c3f7d9 100644
--- a/src/xcms/StCol.c
+++ b/src/xcms/StCol.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/StCol.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/StCols.c b/src/xcms/StCols.c
index 8219a7f1..cff6cc34 100644
--- a/src/xcms/StCols.c
+++ b/src/xcms/StCols.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/StCols.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/UNDEFINED.c b/src/xcms/UNDEFINED.c
index 520d97a1..2c056307 100644
--- a/src/xcms/UNDEFINED.c
+++ b/src/xcms/UNDEFINED.c
@@ -35,6 +35,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/XRGB.c b/src/xcms/XRGB.c
index f868afcc..0d7e24c7 100644
--- a/src/xcms/XRGB.c
+++ b/src/xcms/XRGB.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/XRGB.c,v 3.3 2001/07/29 05:01:11 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/XYZ.c b/src/xcms/XYZ.c
index 86b18e10..f5f17f35 100644
--- a/src/xcms/XYZ.c
+++ b/src/xcms/XYZ.c
@@ -35,6 +35,9 @@
*/
/* $XFree86: xc/lib/X11/XYZ.c,v 1.3 2001/01/17 19:41:49 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xos.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsAllCol.c b/src/xcms/cmsAllCol.c
index 4d301485..3aca5736 100644
--- a/src/xcms/cmsAllCol.c
+++ b/src/xcms/cmsAllCol.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/cmsAllCol.c,v 1.3 2001/01/17 19:41:50 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/cmsAllNCol.c b/src/xcms/cmsAllNCol.c
index efbb1e83..efee0f6b 100644
--- a/src/xcms/cmsAllNCol.c
+++ b/src/xcms/cmsAllNCol.c
@@ -35,6 +35,9 @@
/* $XFree86: xc/lib/X11/cmsAllNCol.c,v 1.4 2003/04/13 19:22:20 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsCmap.c b/src/xcms/cmsCmap.c
index acdbb9d7..bc26638c 100644
--- a/src/xcms/cmsCmap.c
+++ b/src/xcms/cmsCmap.c
@@ -37,6 +37,9 @@
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Xutil.h"
diff --git a/src/xcms/cmsColNm.c b/src/xcms/cmsColNm.c
index f7dd472f..cf1286d7 100644
--- a/src/xcms/cmsColNm.c
+++ b/src/xcms/cmsColNm.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: lib/X11/src/xcms/cmsColNm.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/xcms/cmsColNm.c,v 1.3 2005-05-13 22:53:44 sandmann Exp $ */
/* $Xorg: cmsColNm.c,v 1.3 2000/08/17 19:45:09 cpqbld Exp $ */
/*
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/cmsColNm.c,v 3.11 2003/04/13 19:22:20 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include <X11/Xos.h>
diff --git a/src/xcms/cmsGlobls.c b/src/xcms/cmsGlobls.c
index 2a92a229..abe711c6 100644
--- a/src/xcms/cmsGlobls.c
+++ b/src/xcms/cmsGlobls.c
@@ -34,6 +34,9 @@
*/
/* $XFree86: xc/lib/X11/cmsGlobls.c,v 1.4 2001/01/17 19:41:51 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
#include "Cv.h"
diff --git a/src/xcms/cmsInt.c b/src/xcms/cmsInt.c
index ea75c503..68cfebd7 100644
--- a/src/xcms/cmsInt.c
+++ b/src/xcms/cmsInt.c
@@ -37,6 +37,9 @@
/* $XFree86: xc/lib/X11/cmsInt.c,v 1.4 2003/04/13 19:22:20 dawes Exp $ */
/* #define NEED_EVENTS */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsLkCol.c b/src/xcms/cmsLkCol.c
index 8b3f5346..f19f21d0 100644
--- a/src/xcms/cmsLkCol.c
+++ b/src/xcms/cmsLkCol.c
@@ -35,6 +35,9 @@
/* $XFree86: xc/lib/X11/cmsLkCol.c,v 1.5 2003/04/13 19:22:20 dawes Exp $ */
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsMath.c b/src/xcms/cmsMath.c
index 04c0aea7..c97c7a90 100644
--- a/src/xcms/cmsMath.c
+++ b/src/xcms/cmsMath.c
@@ -31,6 +31,9 @@ in this Software without prior written authorization from The Open Group.
* Stephen Gildea, MIT X Consortium, January 1991
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsProp.c b/src/xcms/cmsProp.c
index 7af729a7..4040a05c 100644
--- a/src/xcms/cmsProp.c
+++ b/src/xcms/cmsProp.c
@@ -33,6 +33,9 @@
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xatom.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/cmsTrig.c b/src/xcms/cmsTrig.c
index 6ff60e9e..1859fa93 100644
--- a/src/xcms/cmsTrig.c
+++ b/src/xcms/cmsTrig.c
@@ -45,6 +45,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xcmsint.h"
/* forward/static */
diff --git a/src/xcms/uvY.c b/src/xcms/uvY.c
index d589b407..d7c3e6ab 100644
--- a/src/xcms/uvY.c
+++ b/src/xcms/uvY.c
@@ -37,6 +37,9 @@
*/
/* $XFree86: xc/lib/X11/uvY.c,v 1.3 2001/01/17 19:41:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xos.h>
#include "Xlibint.h"
#include "Xcmsint.h"
diff --git a/src/xcms/xyY.c b/src/xcms/xyY.c
index 749a05bb..63e80bc5 100644
--- a/src/xcms/xyY.c
+++ b/src/xcms/xyY.c
@@ -36,6 +36,9 @@
*/
/* $XFree86: xc/lib/X11/xyY.c,v 1.3 2001/01/17 19:41:57 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <X11/Xos.h>
#include "Xlibint.h"
diff --git a/src/xim_trans.c b/src/xim_trans.c
new file mode 100644
index 00000000..8a9030fe
--- /dev/null
+++ b/src/xim_trans.c
@@ -0,0 +1,28 @@
+/*
+ * $Id: xim_trans.c,v 3.2 2003/09/26 21:07:29 keithp Exp $
+ *
+ * Copyright © 2003 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of Keith Packard not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. Keith Packard makes no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#define XIM_t
+#define TRANS_CLIENT
+
+#include <transport.c>
diff --git a/src/xkb/XKB.c b/src/xkb/XKB.c
index 20936198..ecc5ddf0 100644
--- a/src/xkb/XKB.c
+++ b/src/xkb/XKB.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKB.c,v 1.9 2003/04/17 02:06:31 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBAlloc.c b/src/xkb/XKBAlloc.c
index a6fec50f..cc85b8f9 100644
--- a/src/xkb/XKBAlloc.c
+++ b/src/xkb/XKBAlloc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBBell.c b/src/xkb/XKBBell.c
index 4c33b8e2..6ea30855 100644
--- a/src/xkb/XKBBell.c
+++ b/src/xkb/XKBBell.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBBind.c b/src/xkb/XKBBind.c
index 5b4ae09d..e190d005 100644
--- a/src/xkb/XKBBind.c
+++ b/src/xkb/XKBBind.c
@@ -31,6 +31,9 @@ from The Open Group.
/* the new monsters ate the old ones */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "XKBlib.h"
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
diff --git a/src/xkb/XKBCompat.c b/src/xkb/XKBCompat.c
index 859e0a0c..5886e4d2 100644
--- a/src/xkb/XKBCompat.c
+++ b/src/xkb/XKBCompat.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBCtrls.c b/src/xkb/XKBCtrls.c
index bc58316b..0ea131aa 100644
--- a/src/xkb/XKBCtrls.c
+++ b/src/xkb/XKBCtrls.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBCtrls.c,v 1.4 2002/12/10 04:33:48 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBCvt.c b/src/xkb/XKBCvt.c
index f2347fa8..13697276 100644
--- a/src/xkb/XKBCvt.c
+++ b/src/xkb/XKBCvt.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/XKBCvt.c,v 3.34 2002/10/08 23:31:35 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/src/xkb/XKBExtDev.c b/src/xkb/XKBExtDev.c
index 1bc9a064..34558e47 100644
--- a/src/xkb/XKBExtDev.c
+++ b/src/xkb/XKBExtDev.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBExtDev.c,v 3.4 2001/10/28 03:32:33 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBGAlloc.c b/src/xkb/XKBGAlloc.c
index 6aa41d06..a1c0d1be 100644
--- a/src/xkb/XKBGAlloc.c
+++ b/src/xkb/XKBGAlloc.c
@@ -31,6 +31,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XKBlibint.h"
diff --git a/src/xkb/XKBGeom.c b/src/xkb/XKBGeom.c
index f41823f5..06117548 100644
--- a/src/xkb/XKBGeom.c
+++ b/src/xkb/XKBGeom.c
@@ -27,6 +27,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* $XFree86: xc/lib/X11/XKBGeom.c,v 1.5 2003/04/13 19:22:18 dawes Exp $ */
#ifdef DEBUG
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#endif
diff --git a/src/xkb/XKBGetByName.c b/src/xkb/XKBGetByName.c
index 70258ce0..2c6ff084 100644
--- a/src/xkb/XKBGetByName.c
+++ b/src/xkb/XKBGetByName.c
@@ -29,6 +29,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
#define NEED_MAP_READERS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/src/xkb/XKBGetMap.c b/src/xkb/XKBGetMap.c
index 71fc7f48..2b9fb97f 100644
--- a/src/xkb/XKBGetMap.c
+++ b/src/xkb/XKBGetMap.c
@@ -30,6 +30,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
#define NEED_MAP_READERS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/src/xkb/XKBList.c b/src/xkb/XKBList.c
index e72ced96..2f4a5349 100644
--- a/src/xkb/XKBList.c
+++ b/src/xkb/XKBList.c
@@ -29,6 +29,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
#define NEED_MAP_READERS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/src/xkb/XKBMAlloc.c b/src/xkb/XKBMAlloc.c
index d1fd14f2..9fe33e7d 100644
--- a/src/xkb/XKBMAlloc.c
+++ b/src/xkb/XKBMAlloc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBMisc.c b/src/xkb/XKBMisc.c
index afc0dbeb..987c6e33 100644
--- a/src/xkb/XKBMisc.c
+++ b/src/xkb/XKBMisc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBNames.c b/src/xkb/XKBNames.c
index 490deff2..a8eeb2ad 100644
--- a/src/xkb/XKBNames.c
+++ b/src/xkb/XKBNames.c
@@ -29,6 +29,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
#define NEED_MAP_READERS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/src/xkb/XKBRdBuf.c b/src/xkb/XKBRdBuf.c
index 9b84424a..a68a80a3 100644
--- a/src/xkb/XKBRdBuf.c
+++ b/src/xkb/XKBRdBuf.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBRdBuf.c,v 1.2 2001/10/28 03:32:33 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBSetGeom.c b/src/xkb/XKBSetGeom.c
index 148e5e54..912f7ebd 100644
--- a/src/xkb/XKBSetGeom.c
+++ b/src/xkb/XKBSetGeom.c
@@ -1,5 +1,5 @@
/* $Xorg: XKBSetGeom.c,v 1.3 2000/08/17 19:45:03 cpqbld Exp $ */
-/* $XdotOrg: lib/X11/src/xkb/XKBSetGeom.c,v 1.3 2005-03-21 04:58:21 alanc Exp $ */
+/* $XdotOrg: lib/X11/src/xkb/XKBSetGeom.c,v 1.4 2005-05-13 22:53:44 sandmann Exp $ */
/************************************************************
Copyright (c) 1993 by Silicon Graphics Computer Systems, Inc.
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* $XFree86: xc/lib/X11/XKBSetGeom.c,v 3.5 2003/05/27 22:26:25 tsi Exp $ */
#ifdef DEBUG
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#endif
diff --git a/src/xkb/XKBSetMap.c b/src/xkb/XKBSetMap.c
index 3e56e98a..4a3b15c7 100644
--- a/src/xkb/XKBSetMap.c
+++ b/src/xkb/XKBSetMap.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBSetMap.c,v 3.2 2001/01/17 19:41:49 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/src/xkb/XKBUse.c b/src/xkb/XKBUse.c
index aea49cb6..ad18bb6f 100644
--- a/src/xkb/XKBUse.c
+++ b/src/xkb/XKBUse.c
@@ -26,6 +26,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBUse.c,v 3.7 2003/07/07 15:34:21 eich Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <ctype.h>
#define NEED_REPLIES
diff --git a/src/xkb/XKBleds.c b/src/xkb/XKBleds.c
index be6e6a1a..89ab2e9e 100644
--- a/src/xkb/XKBleds.c
+++ b/src/xkb/XKBleds.c
@@ -29,6 +29,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
#define NEED_MAP_READERS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/src/xlibi18n/ICWrap.c b/src/xlibi18n/ICWrap.c
index 73b16031..b51da6f4 100644
--- a/src/xlibi18n/ICWrap.c
+++ b/src/xlibi18n/ICWrap.c
@@ -67,6 +67,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/ICWrap.c,v 1.10 2003/04/25 14:12:38 tsi Exp $ */
#define NEED_EVENTS
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/IMWrap.c b/src/xlibi18n/IMWrap.c
index 8cfef782..a90b4067 100644
--- a/src/xlibi18n/IMWrap.c
+++ b/src/xlibi18n/IMWrap.c
@@ -59,6 +59,9 @@ from The Open Group.
/* $XFree86: xc/lib/X11/IMWrap.c,v 3.8 2001/12/14 19:54:01 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/XDefaultIMIF.c b/src/xlibi18n/XDefaultIMIF.c
index 6ab3ac6b..41bd43c1 100644
--- a/src/xlibi18n/XDefaultIMIF.c
+++ b/src/xlibi18n/XDefaultIMIF.c
@@ -43,6 +43,9 @@ Sun Microsystems, Inc. or its licensors is granted.
*/
/* $XFree86: xc/lib/X11/XDefaultIMIF.c,v 1.3 2003/04/13 19:22:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_EVENTS
#include "Xlibint.h"
diff --git a/src/xlibi18n/XDefaultOMIF.c b/src/xlibi18n/XDefaultOMIF.c
index 9182d6de..13f0d9cf 100644
--- a/src/xlibi18n/XDefaultOMIF.c
+++ b/src/xlibi18n/XDefaultOMIF.c
@@ -43,6 +43,9 @@ Sun Microsystems, Inc. or its licensors is granted.
*/
/* $XFree86: xc/lib/X11/XDefaultOMIF.c,v 1.5 2003/04/17 02:39:56 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
#include "XlcPublic.h"
diff --git a/src/xlibi18n/XlcDL.c b/src/xlibi18n/XlcDL.c
index 2c7529f8..6bdd4818 100644
--- a/src/xlibi18n/XlcDL.c
+++ b/src/xlibi18n/XlcDL.c
@@ -42,8 +42,11 @@ Sun Microsystems, Inc. or its licensors is granted.
*/
/* $XFree86: xc/lib/X11/XlcDL.c,v 1.12 2003/04/13 19:22:19 dawes Exp $ */
-/* $XdotOrg: lib/X11/src/xlibi18n/XlcDL.c,v 1.2 2004-04-23 18:43:24 eich Exp $ */
+/* $XdotOrg: lib/X11/src/xlibi18n/XlcDL.c,v 1.3 2005-05-13 22:53:44 sandmann Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#if defined(hpux)
#include <dl.h>
diff --git a/src/xlibi18n/XlcSL.c b/src/xlibi18n/XlcSL.c
index bcf0a001..9e6b67f3 100644
--- a/src/xlibi18n/XlcSL.c
+++ b/src/xlibi18n/XlcSL.c
@@ -43,6 +43,9 @@ Sun Microsystems, Inc. or its licensors is granted.
*/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/imKStoUCS.c b/src/xlibi18n/imKStoUCS.c
index 3504a74e..7d8d5b92 100644
--- a/src/xlibi18n/imKStoUCS.c
+++ b/src/xlibi18n/imKStoUCS.c
@@ -1,5 +1,8 @@
/* $XFree86: xc/lib/X11/imKStoUCS.c,v 1.4 2003/04/29 11:29:18 pascal Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Ximint.h"
diff --git a/src/xlibi18n/lcCT.c b/src/xlibi18n/lcCT.c
index 2afca02a..63608a3c 100644
--- a/src/xlibi18n/lcCT.c
+++ b/src/xlibi18n/lcCT.c
@@ -38,6 +38,9 @@
*/
/* $XFree86: xc/lib/X11/lcCT.c,v 3.26 2001/10/28 03:32:34 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
#include <X11/Xos.h>
diff --git a/src/xlibi18n/lcCharSet.c b/src/xlibi18n/lcCharSet.c
index 3877495e..006a0be2 100644
--- a/src/xlibi18n/lcCharSet.c
+++ b/src/xlibi18n/lcCharSet.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcCharSet.c,v 3.8 2001/01/17 19:41:53 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XlcPublic.h"
diff --git a/src/xlibi18n/lcConv.c b/src/xlibi18n/lcConv.c
index 88ae52f4..2f65ac7b 100644
--- a/src/xlibi18n/lcConv.c
+++ b/src/xlibi18n/lcConv.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcConv.c,v 1.5 2000/12/04 18:49:26 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
#include <stdio.h>
diff --git a/src/xlibi18n/lcDB.c b/src/xlibi18n/lcDB.c
index 2ed5f13a..ffa8f49a 100644
--- a/src/xlibi18n/lcDB.c
+++ b/src/xlibi18n/lcDB.c
@@ -34,6 +34,9 @@
#ifndef NOT_X_ENV
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include "Xlibint.h"
diff --git a/src/xlibi18n/lcDynamic.c b/src/xlibi18n/lcDynamic.c
index e443a056..5d359ed7 100644
--- a/src/xlibi18n/lcDynamic.c
+++ b/src/xlibi18n/lcDynamic.c
@@ -42,6 +42,9 @@ from The Open Group.
*/
#ifdef USE_DYNAMIC_LOADER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
diff --git a/src/xlibi18n/lcFile.c b/src/xlibi18n/lcFile.c
index 39e59345..4c4956f0 100644
--- a/src/xlibi18n/lcFile.c
+++ b/src/xlibi18n/lcFile.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcFile.c,v 3.32 2003/03/25 04:18:09 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
diff --git a/src/xlibi18n/lcGeneric.c b/src/xlibi18n/lcGeneric.c
index 7922928e..dead3056 100644
--- a/src/xlibi18n/lcGeneric.c
+++ b/src/xlibi18n/lcGeneric.c
@@ -30,6 +30,9 @@
*/
/* $XFree86: xc/lib/X11/lcGeneric.c,v 3.19 2003/05/27 16:55:27 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XlcGeneric.h"
diff --git a/src/xlibi18n/lcInit.c b/src/xlibi18n/lcInit.c
index d034f4e0..6375de80 100644
--- a/src/xlibi18n/lcInit.c
+++ b/src/xlibi18n/lcInit.c
@@ -76,6 +76,9 @@ Sun Microsystems, Inc. or its licensors is granted.
*/
/* $XFree86: xc/lib/X11/lcInit.c,v 3.9 2001/11/16 00:52:27 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/lcPrTxt.c b/src/xlibi18n/lcPrTxt.c
index 3670340c..5a781280 100644
--- a/src/xlibi18n/lcPrTxt.c
+++ b/src/xlibi18n/lcPrTxt.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcPrTxt.c,v 1.9 2003/04/03 22:34:02 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
#include <X11/Xutil.h>
diff --git a/src/xlibi18n/lcPubWrap.c b/src/xlibi18n/lcPubWrap.c
index cbbb65c2..e30a55c0 100644
--- a/src/xlibi18n/lcPubWrap.c
+++ b/src/xlibi18n/lcPubWrap.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcPubWrap.c,v 1.4 2001/01/17 19:41:55 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
diff --git a/src/xlibi18n/lcPublic.c b/src/xlibi18n/lcPublic.c
index 7b5e4230..d8045161 100644
--- a/src/xlibi18n/lcPublic.c
+++ b/src/xlibi18n/lcPublic.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcPublic.c,v 1.11 2001/11/16 00:52:28 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XlcPubI.h"
diff --git a/src/xlibi18n/lcRM.c b/src/xlibi18n/lcRM.c
index 23ce80d3..1ffa4ef7 100644
--- a/src/xlibi18n/lcRM.c
+++ b/src/xlibi18n/lcRM.c
@@ -26,6 +26,9 @@
*/
/* $XFree86: xc/lib/X11/lcRM.c,v 1.4 2000/11/28 18:49:48 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
#include <stdio.h>
diff --git a/src/xlibi18n/lcStd.c b/src/xlibi18n/lcStd.c
index 81216aaa..e112dcea 100644
--- a/src/xlibi18n/lcStd.c
+++ b/src/xlibi18n/lcStd.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcStd.c,v 1.6 2003/04/13 19:22:21 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
diff --git a/src/xlibi18n/lcTxtPr.c b/src/xlibi18n/lcTxtPr.c
index a58ef48b..1f9765f6 100644
--- a/src/xlibi18n/lcTxtPr.c
+++ b/src/xlibi18n/lcTxtPr.c
@@ -25,6 +25,9 @@
*/
/* $XFree86: xc/lib/X11/lcTxtPr.c,v 3.3 2001/01/17 19:41:55 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "XlcPubI.h"
#include <X11/Xutil.h>
diff --git a/src/xlibi18n/lcUTF8.c b/src/xlibi18n/lcUTF8.c
index 9caaf2eb..40525003 100644
--- a/src/xlibi18n/lcUTF8.c
+++ b/src/xlibi18n/lcUTF8.c
@@ -73,6 +73,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* without first going through the list of predefined character sets.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XlcPubI.h"
diff --git a/src/xlibi18n/lcUtil.c b/src/xlibi18n/lcUtil.c
index fb159098..ab1db008 100644
--- a/src/xlibi18n/lcUtil.c
+++ b/src/xlibi18n/lcUtil.c
@@ -26,6 +26,9 @@
*/
/* $XFree86: xc/lib/X11/lcUtil.c,v 1.3 2000/11/29 17:40:24 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlib.h>
#include "XlcPublic.h"
diff --git a/src/xlibi18n/lcWrap.c b/src/xlibi18n/lcWrap.c
index e489d6a4..ea262319 100644
--- a/src/xlibi18n/lcWrap.c
+++ b/src/xlibi18n/lcWrap.c
@@ -55,6 +55,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/lcWrap.c,v 3.15 2003/04/13 19:22:22 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/mbWMProps.c b/src/xlibi18n/mbWMProps.c
index 44f38139..a5f7732e 100644
--- a/src/xlibi18n/mbWMProps.c
+++ b/src/xlibi18n/mbWMProps.c
@@ -28,6 +28,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/mbWMProps.c,v 1.5 2001/12/14 19:54:10 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
diff --git a/src/xlibi18n/mbWrap.c b/src/xlibi18n/mbWrap.c
index 6eca32fc..827c10b1 100644
--- a/src/xlibi18n/mbWrap.c
+++ b/src/xlibi18n/mbWrap.c
@@ -52,6 +52,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/mbWrap.c,v 1.6 2001/12/14 19:54:10 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/utf8WMProps.c b/src/xlibi18n/utf8WMProps.c
index 084e3d33..e3a329ac 100644
--- a/src/xlibi18n/utf8WMProps.c
+++ b/src/xlibi18n/utf8WMProps.c
@@ -50,6 +50,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/utf8WMProps.c,v 1.2 2001/12/14 19:54:11 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
diff --git a/src/xlibi18n/utf8Wrap.c b/src/xlibi18n/utf8Wrap.c
index 1a36463d..bde3f041 100644
--- a/src/xlibi18n/utf8Wrap.c
+++ b/src/xlibi18n/utf8Wrap.c
@@ -74,6 +74,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/utf8Wrap.c,v 1.3 2001/12/14 19:54:11 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"
diff --git a/src/xlibi18n/wcWrap.c b/src/xlibi18n/wcWrap.c
index d28f9d09..a0314da7 100644
--- a/src/xlibi18n/wcWrap.c
+++ b/src/xlibi18n/wcWrap.c
@@ -53,6 +53,9 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/wcWrap.c,v 1.6 2001/12/14 19:54:11 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Xlibint.h"
#include "Xlcint.h"