summaryrefslogtreecommitdiff
path: root/xts5
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-06-18 08:52:47 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-06-24 06:23:44 -0700
commit1eafe8b65abaab94037f93196ec1512ab822b858 (patch)
tree56f13167adaacffcbe9d0942703d8c788907ac25 /xts5
parent1ead05eb9ecf545b60ea6508a91414662e706033 (diff)
Add config.h headers to all C files and mc stubs
This should allow the autoconf defines to be used consistently.
Diffstat (limited to 'xts5')
-rw-r--r--xts5/fonts/xtfont0.c4
-rw-r--r--xts5/fonts/xtfont1.c4
-rw-r--r--xts5/fonts/xtfont2.c4
-rw-r--r--xts5/fonts/xtfont3.c4
-rw-r--r--xts5/fonts/xtfont4.c4
-rw-r--r--xts5/fonts/xtfont5.c4
-rw-r--r--xts5/fonts/xtfont6.c4
-rw-r--r--xts5/lib/mc/mcinclude.mc4
-rw-r--r--xts5/lib/mc/mcxcinc.mc5
-rw-r--r--xts5/lib/mc/mcxpinc.mc4
-rw-r--r--xts5/lib/mc/mcxtinc.mc6
-rw-r--r--xts5/src/bin/mc/code.c4
-rw-r--r--xts5/src/bin/mc/cond.c4
-rw-r--r--xts5/src/bin/mc/error.c4
-rw-r--r--xts5/src/bin/mc/expand.c4
-rw-r--r--xts5/src/bin/mc/files.c4
-rw-r--r--xts5/src/bin/mc/gccomps.c4
-rw-r--r--xts5/src/bin/mc/ma.c4
-rw-r--r--xts5/src/bin/mc/main.c4
-rw-r--r--xts5/src/bin/mc/make.c4
-rw-r--r--xts5/src/bin/mc/mas.c4
-rw-r--r--xts5/src/bin/mc/sections.c4
-rw-r--r--xts5/src/bin/mc/set.c4
-rw-r--r--xts5/src/bin/mc/shortname.c4
-rw-r--r--xts5/src/bin/reports/vsw_pr.c4
-rw-r--r--xts5/src/bin/reports/vswrpt.c4
-rw-r--r--xts5/src/bin/reports/vswrptm.c4
-rw-r--r--xts5/src/lib/XInput.c4
-rw-r--r--xts5/src/lib/XTestExt.c4
-rw-r--r--xts5/src/lib/badcmap.c4
-rw-r--r--xts5/src/lib/badfont.c4
-rw-r--r--xts5/src/lib/badgc.c4
-rw-r--r--xts5/src/lib/badpixm.c4
-rw-r--r--xts5/src/lib/badvis.c4
-rw-r--r--xts5/src/lib/badwin.c4
-rw-r--r--xts5/src/lib/block.c4
-rw-r--r--xts5/src/lib/buildtree.c4
-rw-r--r--xts5/src/lib/checkarea.c4
-rw-r--r--xts5/src/lib/checkevent.c4
-rw-r--r--xts5/src/lib/checkfont.c4
-rw-r--r--xts5/src/lib/checkgc.c4
-rw-r--r--xts5/src/lib/checkimg.c4
-rw-r--r--xts5/src/lib/checkpixel.c4
-rw-r--r--xts5/src/lib/checktile.c4
-rw-r--r--xts5/src/lib/config.c4
-rw-r--r--xts5/src/lib/crechild.c4
-rw-r--r--xts5/src/lib/cursor.c4
-rw-r--r--xts5/src/lib/delete.c4
-rw-r--r--xts5/src/lib/devcntl.c4
-rw-r--r--xts5/src/lib/dset.c4
-rw-r--r--xts5/src/lib/dumpimage.c4
-rw-r--r--xts5/src/lib/environ.c4
-rw-r--r--xts5/src/lib/err.c4
-rw-r--r--xts5/src/lib/events.c4
-rw-r--r--xts5/src/lib/ex_startup.c4
-rw-r--r--xts5/src/lib/exposechk.c4
-rw-r--r--xts5/src/lib/extenavail.c4
-rw-r--r--xts5/src/lib/gcflush.c4
-rw-r--r--xts5/src/lib/gcinclude.c4
-rw-r--r--xts5/src/lib/getevent.c4
-rw-r--r--xts5/src/lib/getsize.c4
-rw-r--r--xts5/src/lib/gettime.c4
-rw-r--r--xts5/src/lib/iponlywin.c4
-rw-r--r--xts5/src/lib/issuppvis.c4
-rw-r--r--xts5/src/lib/linkstart.c4
-rw-r--r--xts5/src/lib/lookupname.c4
-rw-r--r--xts5/src/lib/makecolmap.c4
-rw-r--r--xts5/src/lib/makecur.c4
-rw-r--r--xts5/src/lib/makegc.c4
-rw-r--r--xts5/src/lib/makeimg.c4
-rw-r--r--xts5/src/lib/makepixm.c4
-rw-r--r--xts5/src/lib/makeregion.c4
-rw-r--r--xts5/src/lib/makewin.c4
-rw-r--r--xts5/src/lib/makewin2.c4
-rw-r--r--xts5/src/lib/maxsize.c4
-rw-r--r--xts5/src/lib/nextvclass.c4
-rw-r--r--xts5/src/lib/nextvinf.c4
-rw-r--r--xts5/src/lib/nondpth1pix.c4
-rw-r--r--xts5/src/lib/notmember.c4
-rw-r--r--xts5/src/lib/opendisp.c4
-rw-r--r--xts5/src/lib/openfonts.c4
-rw-r--r--xts5/src/lib/pattern.c4
-rw-r--r--xts5/src/lib/pointer.c4
-rw-r--r--xts5/src/lib/regid.c4
-rw-r--r--xts5/src/lib/report.c4
-rw-r--r--xts5/src/lib/rpt.c4
-rw-r--r--xts5/src/lib/savimage.c4
-rw-r--r--xts5/src/lib/setline.c4
-rw-r--r--xts5/src/lib/settimeout.c4
-rw-r--r--xts5/src/lib/stackorder.c4
-rw-r--r--xts5/src/lib/startcall.c4
-rw-r--r--xts5/src/lib/startup.c4
-rw-r--r--xts5/src/lib/tpstartup.c4
-rw-r--r--xts5/src/lib/verimage.c4
-rw-r--r--xts5/src/lib/winh.c4
-rw-r--r--xts5/src/lib/xthost.c4
-rw-r--r--xts5/src/libXR5/blowup.c4
-rw-r--r--xts5/src/libXR5/bufdisp.c4
-rw-r--r--xts5/src/libXR5/chek.c4
-rw-r--r--xts5/src/libXR5/dumpbuf.c4
-rw-r--r--xts5/src/libXR5/event.c4
-rw-r--r--xts5/src/libXR5/item.c4
-rw-r--r--xts5/src/libXR5/message.c4
-rw-r--r--xts5/src/libXR5/misc.c4
-rw-r--r--xts5/src/libXR5/r5startup.c4
-rw-r--r--xts5/src/libXR5/save.c4
-rw-r--r--xts5/src/libXR5/signal.c4
-rw-r--r--xts5/src/libXtTest/AvsComp.c4
-rw-r--r--xts5/src/libXtTest/AvsComp2.c4
-rw-r--r--xts5/src/libXtTest/AvsForm.c4
-rw-r--r--xts5/src/libXtTest/AvsForm2.c4
-rw-r--r--xts5/src/libXtTest/AvsForm3.c4
-rw-r--r--xts5/src/libXtTest/AvsObj.c4
-rw-r--r--xts5/src/libXtTest/AvsRectObj.c4
-rw-r--r--xts5/src/libXtTest/AvsWid.c4
-rw-r--r--xts5/src/libXtTest/avs_def.c4
-rw-r--r--xts5/src/libXtTest/avs_func.c4
-rw-r--r--xts5/src/libXtTest/avs_hier.c4
-rw-r--r--xts5/src/libXtTest/avs_hierd.c4
-rw-r--r--xts5/src/libXtTest/avs_init.c4
-rw-r--r--xts5/src/libXtTest/avs_tree.c4
-rw-r--r--xts5/src/libXtTest/avs_widget.c4
-rw-r--r--xts5/src/libXtTest/avs_xext.c4
-rw-r--r--xts5/src/libXtTest/box.c4
-rw-r--r--xts5/src/libXtTest/check.c4
-rw-r--r--xts5/src/libXtTest/errlook.c4
-rw-r--r--xts5/src/libXtTest/event.c4
-rw-r--r--xts5/src/libXtTest/eventname.c4
-rw-r--r--xts5/src/libXtTest/misc.c4
-rw-r--r--xts5/src/libXtTest/pshpop.c4
-rw-r--r--xts5/src/libXtTest/sendevent.c4
-rw-r--r--xts5/src/libXtTest/sendmask.c4
-rw-r--r--xts5/src/libXtTest/signals.c4
-rw-r--r--xts5/src/libXtTest/waitfor.c4
-rw-r--r--xts5/src/libXtTest/xhandler.c4
-rw-r--r--xts5/src/libXtTest/xthandler.c4
-rw-r--r--xts5/src/libXtTest/xunexperr.c4
-rw-r--r--xts5/src/libXtaw/AllWidgets.c4
-rw-r--r--xts5/src/libXtaw/Box.c4
-rw-r--r--xts5/src/libXtaw/Command.c4
-rw-r--r--xts5/src/libXtaw/Form.c4
-rw-r--r--xts5/src/libXtaw/Grip.c4
-rw-r--r--xts5/src/libXtaw/Label.c4
-rw-r--r--xts5/src/libXtaw/Paned.c4
-rw-r--r--xts5/src/libXtaw/Scrollbar.c4
-rw-r--r--xts5/src/libXtaw/Simple.c4
-rw-r--r--xts5/src/libXtaw/SimpleMenu.c4
-rw-r--r--xts5/src/libXtaw/Sme.c4
-rw-r--r--xts5/src/libXtaw/SmeBSB.c4
-rw-r--r--xts5/src/libXtaw/Tree.c4
-rw-r--r--xts5/src/libXtaw/Viewport.c4
-rw-r--r--xts5/src/libXtaw/XawInit.c4
-rw-r--r--xts5/src/libXtmu/CloseHook.c4
-rw-r--r--xts5/src/libXtmu/CursorName.c4
-rw-r--r--xts5/src/libXtmu/CvtCache.c4
-rw-r--r--xts5/src/libXtmu/DisplayQue.c4
-rw-r--r--xts5/src/libXtmu/DrRndRect.c4
-rw-r--r--xts5/src/libXtmu/GrayPixmap.c4
-rw-r--r--xts5/src/libXtmu/Initer.c4
-rw-r--r--xts5/src/libXtmu/LocBitmap.c4
-rw-r--r--xts5/src/libXtmu/Lower.c4
-rw-r--r--xts5/src/libXtmu/RdBitF.c4
-rw-r--r--xts5/src/libXtmu/ShapeWidg.c4
-rw-r--r--xts5/src/libXtmu/StrToBS.c4
-rw-r--r--xts5/src/libXtmu/StrToCurs.c4
-rw-r--r--xts5/src/libXtmu/StrToJust.c4
-rw-r--r--xts5/src/libXtmu/StrToOrnt.c4
-rw-r--r--xts5/src/libXtmu/StrToShap.c4
-rw-r--r--xts5/src/libXtmu/StrToWidg.c4
-rw-r--r--xts5/src/libproto/ClientMng.c4
-rw-r--r--xts5/src/libproto/DataMove.c4
-rw-r--r--xts5/src/libproto/DfltVals.c4
-rw-r--r--xts5/src/libproto/Expect.c4
-rw-r--r--xts5/src/libproto/Log.c4
-rw-r--r--xts5/src/libproto/MakeReq.c4
-rw-r--r--xts5/src/libproto/MakeXIReq.c4
-rw-r--r--xts5/src/libproto/RcvErr.c4
-rw-r--r--xts5/src/libproto/RcvEvt.c4
-rw-r--r--xts5/src/libproto/RcvExtErr.c4
-rw-r--r--xts5/src/libproto/RcvExtEvt.c4
-rw-r--r--xts5/src/libproto/RcvExtRep.c4
-rw-r--r--xts5/src/libproto/RcvRep.c4
-rw-r--r--xts5/src/libproto/ResMng.c4
-rw-r--r--xts5/src/libproto/SendEvt.c4
-rw-r--r--xts5/src/libproto/SendReq.c4
-rw-r--r--xts5/src/libproto/SendSup.c4
-rw-r--r--xts5/src/libproto/SendXIReq.c4
-rw-r--r--xts5/src/libproto/ShowErr.c4
-rw-r--r--xts5/src/libproto/ShowEvt.c4
-rw-r--r--xts5/src/libproto/ShowExtErr.c4
-rw-r--r--xts5/src/libproto/ShowExtEvt.c4
-rw-r--r--xts5/src/libproto/ShowExtRep.c4
-rw-r--r--xts5/src/libproto/ShowExtReq.c4
-rw-r--r--xts5/src/libproto/ShowRep.c4
-rw-r--r--xts5/src/libproto/ShowReq.c4
-rw-r--r--xts5/src/libproto/ShowSup.c4
-rw-r--r--xts5/src/libproto/TestMng.c4
-rw-r--r--xts5/src/libproto/TestSup.c4
-rw-r--r--xts5/src/libproto/Timer.c4
-rw-r--r--xts5/src/libproto/Utils.c4
-rw-r--r--xts5/src/libproto/ValListMng.c4
-rw-r--r--xts5/src/libproto/Validate.c4
-rw-r--r--xts5/src/libproto/XlibNoXtst.c4
-rw-r--r--xts5/src/libproto/XlibOpaque.c4
-rw-r--r--xts5/src/libproto/XlibXtst.c4
-rw-r--r--xts5/src/libproto/XstIO.c4
-rw-r--r--xts5/src/libproto/delete.c4
-rw-r--r--xts5/src/libproto/linkstart.c4
-rw-r--r--xts5/src/libproto/startup.c4
-rw-r--r--xts5/src/libproto/tpstartup.c4
-rw-r--r--xts5/src/pixval/blowup/ajax.c4
-rw-r--r--xts5/src/pixval/blowup/vblowup_c.c4
-rw-r--r--xts5/src/xim/clnlocale.c4
-rw-r--r--xts5/src/xim/ic.c4
-rw-r--r--xts5/src/xim/linklocale.c4
-rw-r--r--xts5/src/xim/nextlclmod.c4
-rw-r--r--xts5/src/xim/nextlocale.c4
-rw-r--r--xts5/src/xim/nxtfontset.c4
-rw-r--r--xts5/src/xim/parse.c4
-rw-r--r--xts5/src/xim/response.c4
-rw-r--r--xts5/src/xim/stimulus.c4
-rw-r--r--xts5/src/xim/xim_cb.c4
-rw-r--r--xts5/src/xim/xim_comp.c4
-rw-r--r--xts5/src/xim/xim_save.c4
-rw-r--r--xts5/tset/Xlib12/dsplynm/Test1.c4
-rw-r--r--xts5/tset/Xlib15/stwmprprts/Test1.c4
-rw-r--r--xts5/tset/Xlib15/stwmprprts/Test2.c4
-rw-r--r--xts5/tset/Xlib17/gtdflt/Test3.c4
-rw-r--r--xts5/tset/Xlib17/gtdflt/Test4.c4
-rw-r--r--xts5/tset/Xlib17/gtdflt/Test5.c4
-rw-r--r--xts5/tset/Xlib3/dsplystr/Test1.c4
-rw-r--r--xts5/tset/Xlib3/opndsply/Test1.c4
-rw-r--r--xts5/tset/Xopen/kysym/Test0.c4
-rw-r--r--xts5/tset/Xopen/kysym/Test1.c4
-rw-r--r--xts5/tset/Xopen/kysym/Test2.c4
-rw-r--r--xts5/tset/Xopen/kysym/Test3.c4
-rw-r--r--xts5/tset/Xopen/kysym/Test4.c4
-rw-r--r--xts5/tset/Xopen/kysym/TestG.c4
-rw-r--r--xts5/tset/Xopen/kysym/TestM.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/Test0.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/Test1.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/Test2.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/Test3.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/Test4.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestA.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestC.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestG.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestH.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestK.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestL.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestM.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestP.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestS.c4
-rw-r--r--xts5/tset/Xopen/kysymdf/TestT.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/Test1.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/Test2.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/Test3.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/Test4.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestA.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestC.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestG.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestH.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestK.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestL.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestM.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestP.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestS.c4
-rw-r--r--xts5/tset/Xopen/kysymtkycd/TestT.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/Test1.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/Test2.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/Test3.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/Test4.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestA.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestC.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestG.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestH.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestK.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestL.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestM.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestP.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestS.c4
-rw-r--r--xts5/tset/Xopen/strtkysym/TestT.c4
-rw-r--r--xts5/tset/Xt3/tchcksbcls/Test12.c4
-rw-r--r--xts5/tset/Xt3/tchcksbcls/Test3.c4
-rw-r--r--xts5/tset/Xt8/tqrygomty/tqrygomty.c4
-rw-r--r--xts5/tset/Xt9/tcalafocs/tcalafocs2.c4
286 files changed, 1146 insertions, 1 deletions
diff --git a/xts5/fonts/xtfont0.c b/xts5/fonts/xtfont0.c
index 691ad964..3fb33f17 100644
--- a/xts5/fonts/xtfont0.c
+++ b/xts5/fonts/xtfont0.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont1.c b/xts5/fonts/xtfont1.c
index c3211ba8..bf7fa5de 100644
--- a/xts5/fonts/xtfont1.c
+++ b/xts5/fonts/xtfont1.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont2.c b/xts5/fonts/xtfont2.c
index 456a5e0b..c66f5091 100644
--- a/xts5/fonts/xtfont2.c
+++ b/xts5/fonts/xtfont2.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont3.c b/xts5/fonts/xtfont3.c
index 486549fd..84966cc3 100644
--- a/xts5/fonts/xtfont3.c
+++ b/xts5/fonts/xtfont3.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont4.c b/xts5/fonts/xtfont4.c
index 203dfcae..df66a5b8 100644
--- a/xts5/fonts/xtfont4.c
+++ b/xts5/fonts/xtfont4.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont5.c b/xts5/fonts/xtfont5.c
index eaad82be..e2ea2219 100644
--- a/xts5/fonts/xtfont5.c
+++ b/xts5/fonts/xtfont5.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/fonts/xtfont6.c b/xts5/fonts/xtfont6.c
index de3eb177..85566652 100644
--- a/xts5/fonts/xtfont6.c
+++ b/xts5/fonts/xtfont6.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/lib/mc/mcinclude.mc b/xts5/lib/mc/mcinclude.mc
index fd5e3b9c..b9fe79f3 100644
--- a/xts5/lib/mc/mcinclude.mc
+++ b/xts5/lib/mc/mcinclude.mc
@@ -1,5 +1,9 @@
/* $Header: /cvs/xtest/xtest/xts5/lib/mc/mcinclude.mc,v 1.2 2005-02-12 17:50:23 anderson Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/lib/mc/mcxcinc.mc b/xts5/lib/mc/mcxcinc.mc
index fa6c7f50..822a3092 100644
--- a/xts5/lib/mc/mcxcinc.mc
+++ b/xts5/lib/mc/mcxcinc.mc
@@ -1,4 +1,9 @@
/* $Header: /cvs/xtest/xtest/xts5/lib/mc/mcxcinc.mc,v 1.1 2005-02-12 14:37:14 anderson Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <locale.h>
diff --git a/xts5/lib/mc/mcxpinc.mc b/xts5/lib/mc/mcxpinc.mc
index bca56982..f3314774 100644
--- a/xts5/lib/mc/mcxpinc.mc
+++ b/xts5/lib/mc/mcxpinc.mc
@@ -1,5 +1,9 @@
/* $Header: /cvs/xtest/xtest/xts5/lib/mc/mcxpinc.mc,v 1.1 2005-02-12 14:37:14 anderson Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "tet_api.h"
diff --git a/xts5/lib/mc/mcxtinc.mc b/xts5/lib/mc/mcxtinc.mc
index 0ffbe735..7715092e 100644
--- a/xts5/lib/mc/mcxtinc.mc
+++ b/xts5/lib/mc/mcxtinc.mc
@@ -1,3 +1,7 @@
-
/* $Header: /cvs/xtest/xtest/xts5/lib/mc/mcxtinc.mc,v 1.1 2005-02-12 14:37:14 anderson Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
diff --git a/xts5/src/bin/mc/code.c b/xts5/src/bin/mc/code.c
index 01b7436f..1146c760 100644
--- a/xts5/src/bin/mc/code.c
+++ b/xts5/src/bin/mc/code.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/xts5/src/bin/mc/cond.c b/xts5/src/bin/mc/cond.c
index 7a87a6bc..8300634c 100644
--- a/xts5/src/bin/mc/cond.c
+++ b/xts5/src/bin/mc/cond.c
@@ -121,6 +121,10 @@ purpose. It is provided "as is" without express or implied warranty.
* the C pre-processor...).
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "mc.h"
diff --git a/xts5/src/bin/mc/error.c b/xts5/src/bin/mc/error.c
index 712195d9..0e93c682 100644
--- a/xts5/src/bin/mc/error.c
+++ b/xts5/src/bin/mc/error.c
@@ -104,6 +104,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "mc.h"
diff --git a/xts5/src/bin/mc/expand.c b/xts5/src/bin/mc/expand.c
index 788dde23..b9328f9c 100644
--- a/xts5/src/bin/mc/expand.c
+++ b/xts5/src/bin/mc/expand.c
@@ -103,6 +103,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "mc.h"
diff --git a/xts5/src/bin/mc/files.c b/xts5/src/bin/mc/files.c
index a10e038c..d712970a 100644
--- a/xts5/src/bin/mc/files.c
+++ b/xts5/src/bin/mc/files.c
@@ -116,6 +116,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/xts5/src/bin/mc/gccomps.c b/xts5/src/bin/mc/gccomps.c
index a9099b96..070e2ce1 100644
--- a/xts5/src/bin/mc/gccomps.c
+++ b/xts5/src/bin/mc/gccomps.c
@@ -104,6 +104,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/bin/mc/ma.c b/xts5/src/bin/mc/ma.c
index 64341c25..cc923a65 100644
--- a/xts5/src/bin/mc/ma.c
+++ b/xts5/src/bin/mc/ma.c
@@ -103,6 +103,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "string.h"
diff --git a/xts5/src/bin/mc/main.c b/xts5/src/bin/mc/main.c
index 674d1cb2..c0ab7569 100644
--- a/xts5/src/bin/mc/main.c
+++ b/xts5/src/bin/mc/main.c
@@ -113,6 +113,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/xts5/src/bin/mc/make.c b/xts5/src/bin/mc/make.c
index cc106b6f..7b4b9f5e 100644
--- a/xts5/src/bin/mc/make.c
+++ b/xts5/src/bin/mc/make.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/xts5/src/bin/mc/mas.c b/xts5/src/bin/mc/mas.c
index 19de7a3e..c14590c7 100644
--- a/xts5/src/bin/mc/mas.c
+++ b/xts5/src/bin/mc/mas.c
@@ -103,6 +103,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "string.h"
diff --git a/xts5/src/bin/mc/sections.c b/xts5/src/bin/mc/sections.c
index 7eece144..2513e03a 100644
--- a/xts5/src/bin/mc/sections.c
+++ b/xts5/src/bin/mc/sections.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <ctype.h>
#include "string.h"
diff --git a/xts5/src/bin/mc/set.c b/xts5/src/bin/mc/set.c
index afb7ab70..5a4f8143 100644
--- a/xts5/src/bin/mc/set.c
+++ b/xts5/src/bin/mc/set.c
@@ -103,6 +103,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include "mc.h"
diff --git a/xts5/src/bin/mc/shortname.c b/xts5/src/bin/mc/shortname.c
index 14d45dce..01882029 100644
--- a/xts5/src/bin/mc/shortname.c
+++ b/xts5/src/bin/mc/shortname.c
@@ -117,6 +117,10 @@ purpose. It is provided "as is" without express or implied warranty.
* If the string ended in 16 then make it end in 16 after truncation.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include "mc.h"
diff --git a/xts5/src/bin/reports/vsw_pr.c b/xts5/src/bin/reports/vsw_pr.c
index d5c8b34a..abb4cfc6 100644
--- a/xts5/src/bin/reports/vsw_pr.c
+++ b/xts5/src/bin/reports/vsw_pr.c
@@ -60,6 +60,10 @@ $Header: /cvs/xtest/xtest/xts5/src/bin/reports/vsw_pr.c,v 1.1 2005-02-12 14:37:1
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/xts5/src/bin/reports/vswrpt.c b/xts5/src/bin/reports/vswrpt.c
index 9d85ca3b..1e45d7ac 100644
--- a/xts5/src/bin/reports/vswrpt.c
+++ b/xts5/src/bin/reports/vswrpt.c
@@ -92,6 +92,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/xts5/src/bin/reports/vswrptm.c b/xts5/src/bin/reports/vswrptm.c
index 60a3d0dd..5a6f1a66 100644
--- a/xts5/src/bin/reports/vswrptm.c
+++ b/xts5/src/bin/reports/vswrptm.c
@@ -69,6 +69,10 @@ $Header: /cvs/xtest/xtest/xts5/src/bin/reports/vswrptm.c,v 1.3 2005-11-03 08:42:
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <unistd.h>
#include <stdio.h>
#include <dirent.h>
diff --git a/xts5/src/lib/XInput.c b/xts5/src/lib/XInput.c
index 1f0410b9..4392802c 100644
--- a/xts5/src/lib/XInput.c
+++ b/xts5/src/lib/XInput.c
@@ -64,6 +64,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#ifdef INPUTEXTENSION
#include "X11/extensions/XIproto.h"
diff --git a/xts5/src/lib/XTestExt.c b/xts5/src/lib/XTestExt.c
index 8a5ae4af..4f6dee15 100644
--- a/xts5/src/lib/XTestExt.c
+++ b/xts5/src/lib/XTestExt.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef GENERATE_PIXMAPS
/* in this case we never want to do anything like real buffer stuffing or
* I/O on our "display" as it isn't real enough for that.
diff --git a/xts5/src/lib/badcmap.c b/xts5/src/lib/badcmap.c
index 4f2e7357..9bf4d172 100644
--- a/xts5/src/lib/badcmap.c
+++ b/xts5/src/lib/badcmap.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/badfont.c b/xts5/src/lib/badfont.c
index 3831c0e3..ce69cce9 100644
--- a/xts5/src/lib/badfont.c
+++ b/xts5/src/lib/badfont.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/badgc.c b/xts5/src/lib/badgc.c
index 70a20b67..0b9b7f68 100644
--- a/xts5/src/lib/badgc.c
+++ b/xts5/src/lib/badgc.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/badpixm.c b/xts5/src/lib/badpixm.c
index 125b7c5d..854caff3 100644
--- a/xts5/src/lib/badpixm.c
+++ b/xts5/src/lib/badpixm.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/badvis.c b/xts5/src/lib/badvis.c
index 7f41cb4f..8796e2e2 100644
--- a/xts5/src/lib/badvis.c
+++ b/xts5/src/lib/badvis.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/badwin.c b/xts5/src/lib/badwin.c
index fe38b2b5..cecd68bd 100644
--- a/xts5/src/lib/badwin.c
+++ b/xts5/src/lib/badwin.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/block.c b/xts5/src/lib/block.c
index 52c5b938..bcb0d6cf 100644
--- a/xts5/src/lib/block.c
+++ b/xts5/src/lib/block.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/buildtree.c b/xts5/src/lib/buildtree.c
index f811927b..1120e6c5 100644
--- a/xts5/src/lib/buildtree.c
+++ b/xts5/src/lib/buildtree.c
@@ -113,6 +113,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/checkarea.c b/xts5/src/lib/checkarea.c
index ddd3d88b..5f85b632 100644
--- a/xts5/src/lib/checkarea.c
+++ b/xts5/src/lib/checkarea.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include "xtest.h"
diff --git a/xts5/src/lib/checkevent.c b/xts5/src/lib/checkevent.c
index 2d886e40..7f3376f7 100644
--- a/xts5/src/lib/checkevent.c
+++ b/xts5/src/lib/checkevent.c
@@ -204,6 +204,10 @@ SOFTWARE.
* they will contain.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "tet_api.h"
diff --git a/xts5/src/lib/checkfont.c b/xts5/src/lib/checkfont.c
index 78661e16..832d6bc7 100644
--- a/xts5/src/lib/checkfont.c
+++ b/xts5/src/lib/checkfont.c
@@ -113,6 +113,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "stdio.h"
#include "xtest.h"
diff --git a/xts5/src/lib/checkgc.c b/xts5/src/lib/checkgc.c
index 9ae657ce..6dc0fc28 100644
--- a/xts5/src/lib/checkgc.c
+++ b/xts5/src/lib/checkgc.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/checkimg.c b/xts5/src/lib/checkimg.c
index eea96607..087b94cf 100644
--- a/xts5/src/lib/checkimg.c
+++ b/xts5/src/lib/checkimg.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include "xtest.h"
diff --git a/xts5/src/lib/checkpixel.c b/xts5/src/lib/checkpixel.c
index b76de10e..2176fe9e 100644
--- a/xts5/src/lib/checkpixel.c
+++ b/xts5/src/lib/checkpixel.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/checktile.c b/xts5/src/lib/checktile.c
index e3fc1ea3..83d84302 100644
--- a/xts5/src/lib/checktile.c
+++ b/xts5/src/lib/checktile.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/config.c b/xts5/src/lib/config.c
index f51e742c..135b3843 100644
--- a/xts5/src/lib/config.c
+++ b/xts5/src/lib/config.c
@@ -124,6 +124,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "string.h"
#include <ctype.h>
diff --git a/xts5/src/lib/crechild.c b/xts5/src/lib/crechild.c
index dc638c7a..ecdf5e31 100644
--- a/xts5/src/lib/crechild.c
+++ b/xts5/src/lib/crechild.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/cursor.c b/xts5/src/lib/cursor.c
index dcf14502..a590f450 100644
--- a/xts5/src/lib/cursor.c
+++ b/xts5/src/lib/cursor.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/delete.c b/xts5/src/lib/delete.c
index 35f8ed75..08cbc71e 100644
--- a/xts5/src/lib/delete.c
+++ b/xts5/src/lib/delete.c
@@ -114,6 +114,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "tet_api.h"
diff --git a/xts5/src/lib/devcntl.c b/xts5/src/lib/devcntl.c
index 9ad706e8..d3c1fb3d 100644
--- a/xts5/src/lib/devcntl.c
+++ b/xts5/src/lib/devcntl.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/xts5/src/lib/dset.c b/xts5/src/lib/dset.c
index 734b5142..0077500c 100644
--- a/xts5/src/lib/dset.c
+++ b/xts5/src/lib/dset.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/dumpimage.c b/xts5/src/lib/dumpimage.c
index 9a8a18c0..a2ba2079 100644
--- a/xts5/src/lib/dumpimage.c
+++ b/xts5/src/lib/dumpimage.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/environ.c b/xts5/src/lib/environ.c
index cda05d21..d14d9c3b 100644
--- a/xts5/src/lib/environ.c
+++ b/xts5/src/lib/environ.c
@@ -115,6 +115,10 @@ purpose. It is provided "as is" without express or implied warranty.
* References to size_t have been removed for maximum portability
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "string.h"
diff --git a/xts5/src/lib/err.c b/xts5/src/lib/err.c
index bd15a655..a06fc085 100644
--- a/xts5/src/lib/err.c
+++ b/xts5/src/lib/err.c
@@ -110,6 +110,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include "xtest.h"
diff --git a/xts5/src/lib/events.c b/xts5/src/lib/events.c
index e0b8508e..bb511258 100644
--- a/xts5/src/lib/events.c
+++ b/xts5/src/lib/events.c
@@ -111,6 +111,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/ex_startup.c b/xts5/src/lib/ex_startup.c
index 4d95614d..0439ad28 100644
--- a/xts5/src/lib/ex_startup.c
+++ b/xts5/src/lib/ex_startup.c
@@ -112,6 +112,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/xts5/src/lib/exposechk.c b/xts5/src/lib/exposechk.c
index b4fff948..e489e1a2 100644
--- a/xts5/src/lib/exposechk.c
+++ b/xts5/src/lib/exposechk.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/extenavail.c b/xts5/src/lib/extenavail.c
index 4d819222..c71893e7 100644
--- a/xts5/src/lib/extenavail.c
+++ b/xts5/src/lib/extenavail.c
@@ -110,6 +110,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "X11/Xlib.h"
#ifdef GENERATE_PIXMAPS
diff --git a/xts5/src/lib/gcflush.c b/xts5/src/lib/gcflush.c
index 70a23981..c01f23d9 100644
--- a/xts5/src/lib/gcflush.c
+++ b/xts5/src/lib/gcflush.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/types.h>
#include "X11/Xlibint.h"
#include "xtest.h"
diff --git a/xts5/src/lib/gcinclude.c b/xts5/src/lib/gcinclude.c
index 11e7051f..e099ed70 100644
--- a/xts5/src/lib/gcinclude.c
+++ b/xts5/src/lib/gcinclude.c
@@ -115,6 +115,10 @@ purpose. It is provided "as is" without express or implied warranty.
* being included in every file.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/getevent.c b/xts5/src/lib/getevent.c
index 2dacfd33..2b28de17 100644
--- a/xts5/src/lib/getevent.c
+++ b/xts5/src/lib/getevent.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/getsize.c b/xts5/src/lib/getsize.c
index eb034bc7..ee5b29d8 100644
--- a/xts5/src/lib/getsize.c
+++ b/xts5/src/lib/getsize.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "X11/Xlib.h"
#include "X11/Xutil.h"
#include "pixval.h"
diff --git a/xts5/src/lib/gettime.c b/xts5/src/lib/gettime.c
index 2a242afb..af85928b 100644
--- a/xts5/src/lib/gettime.c
+++ b/xts5/src/lib/gettime.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "X11/Xlib.h"
#include "X11/Xutil.h"
#include "X11/Xatom.h"
diff --git a/xts5/src/lib/iponlywin.c b/xts5/src/lib/iponlywin.c
index c89ee3cc..3304e61d 100644
--- a/xts5/src/lib/iponlywin.c
+++ b/xts5/src/lib/iponlywin.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
diff --git a/xts5/src/lib/issuppvis.c b/xts5/src/lib/issuppvis.c
index 19c71317..140a9d40 100644
--- a/xts5/src/lib/issuppvis.c
+++ b/xts5/src/lib/issuppvis.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "X11/Xlib.h"
#include "X11/Xutil.h"
#include "xtest.h"
diff --git a/xts5/src/lib/linkstart.c b/xts5/src/lib/linkstart.c
index 780f2230..9e439e4b 100644
--- a/xts5/src/lib/linkstart.c
+++ b/xts5/src/lib/linkstart.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "tet_api.h"
#include "stdlib.h"
diff --git a/xts5/src/lib/lookupname.c b/xts5/src/lib/lookupname.c
index 6e2410ad..aceec9c9 100644
--- a/xts5/src/lib/lookupname.c
+++ b/xts5/src/lib/lookupname.c
@@ -112,6 +112,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/lib/makecolmap.c b/xts5/src/lib/makecolmap.c
index 66ab2845..71ddd069 100644
--- a/xts5/src/lib/makecolmap.c
+++ b/xts5/src/lib/makecolmap.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/makecur.c b/xts5/src/lib/makecur.c
index f3eb811c..3de72b43 100644
--- a/xts5/src/lib/makecur.c
+++ b/xts5/src/lib/makecur.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/makegc.c b/xts5/src/lib/makegc.c
index 685f38b1..93c11dcf 100644
--- a/xts5/src/lib/makegc.c
+++ b/xts5/src/lib/makegc.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/makeimg.c b/xts5/src/lib/makeimg.c
index 881d8630..c9b8332c 100644
--- a/xts5/src/lib/makeimg.c
+++ b/xts5/src/lib/makeimg.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/makepixm.c b/xts5/src/lib/makepixm.c
index 16e37169..2ba6e529 100644
--- a/xts5/src/lib/makepixm.c
+++ b/xts5/src/lib/makepixm.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/makeregion.c b/xts5/src/lib/makeregion.c
index b0fac05d..4432702c 100644
--- a/xts5/src/lib/makeregion.c
+++ b/xts5/src/lib/makeregion.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/makewin.c b/xts5/src/lib/makewin.c
index eb4a4e7b..f0d1b1aa 100644
--- a/xts5/src/lib/makewin.c
+++ b/xts5/src/lib/makewin.c
@@ -116,6 +116,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
diff --git a/xts5/src/lib/makewin2.c b/xts5/src/lib/makewin2.c
index 36c920ca..b65ad77f 100644
--- a/xts5/src/lib/makewin2.c
+++ b/xts5/src/lib/makewin2.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
diff --git a/xts5/src/lib/maxsize.c b/xts5/src/lib/maxsize.c
index 60301a63..024f311d 100644
--- a/xts5/src/lib/maxsize.c
+++ b/xts5/src/lib/maxsize.c
@@ -110,6 +110,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "X11/Xlib.h"
#include "X11/Xutil.h"
#include "xtestlib.h"
diff --git a/xts5/src/lib/nextvclass.c b/xts5/src/lib/nextvclass.c
index c1a4f605..624a7227 100644
--- a/xts5/src/lib/nextvclass.c
+++ b/xts5/src/lib/nextvclass.c
@@ -118,6 +118,10 @@ purpose. It is provided "as is" without express or implied warranty.
* rely on XGetVisualInfo to work properly.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "stdlib.h"
#include "string.h"
diff --git a/xts5/src/lib/nextvinf.c b/xts5/src/lib/nextvinf.c
index 2537c288..6657348a 100644
--- a/xts5/src/lib/nextvinf.c
+++ b/xts5/src/lib/nextvinf.c
@@ -117,6 +117,10 @@ purpose. It is provided "as is" without express or implied warranty.
* on the screen under test.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/xts5/src/lib/nondpth1pix.c b/xts5/src/lib/nondpth1pix.c
index 1af3f640..423b1ea0 100644
--- a/xts5/src/lib/nondpth1pix.c
+++ b/xts5/src/lib/nondpth1pix.c
@@ -114,6 +114,10 @@ purpose. It is provided "as is" without express or implied warranty.
* otherwise return (pixmap) 0.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/notmember.c b/xts5/src/lib/notmember.c
index 21f939e8..1ff6be66 100644
--- a/xts5/src/lib/notmember.c
+++ b/xts5/src/lib/notmember.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/opendisp.c b/xts5/src/lib/opendisp.c
index 460ac4cf..a9e5de8a 100644
--- a/xts5/src/lib/opendisp.c
+++ b/xts5/src/lib/opendisp.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/openfonts.c b/xts5/src/lib/openfonts.c
index b7400ab2..5c4d4d90 100644
--- a/xts5/src/lib/openfonts.c
+++ b/xts5/src/lib/openfonts.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/pattern.c b/xts5/src/lib/pattern.c
index dfe19628..27825b38 100644
--- a/xts5/src/lib/pattern.c
+++ b/xts5/src/lib/pattern.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/pointer.c b/xts5/src/lib/pointer.c
index a542dcd8..a688c7e1 100644
--- a/xts5/src/lib/pointer.c
+++ b/xts5/src/lib/pointer.c
@@ -114,6 +114,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/regid.c b/xts5/src/lib/regid.c
index c3b71805..8383a23d 100644
--- a/xts5/src/lib/regid.c
+++ b/xts5/src/lib/regid.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include "xtest.h"
diff --git a/xts5/src/lib/report.c b/xts5/src/lib/report.c
index a1a653ad..77688d31 100644
--- a/xts5/src/lib/report.c
+++ b/xts5/src/lib/report.c
@@ -128,6 +128,10 @@ purpose. It is provided "as is" without express or implied warranty.
* Path trace line.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include "xtest.h"
diff --git a/xts5/src/lib/rpt.c b/xts5/src/lib/rpt.c
index 1dfcce7f..1b50fa71 100644
--- a/xts5/src/lib/rpt.c
+++ b/xts5/src/lib/rpt.c
@@ -114,6 +114,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/savimage.c b/xts5/src/lib/savimage.c
index 582f4dbc..374fcc4d 100644
--- a/xts5/src/lib/savimage.c
+++ b/xts5/src/lib/savimage.c
@@ -110,6 +110,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/setline.c b/xts5/src/lib/setline.c
index 1f8420a7..ca497e08 100644
--- a/xts5/src/lib/setline.c
+++ b/xts5/src/lib/setline.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/settimeout.c b/xts5/src/lib/settimeout.c
index fef61adb..93c46f9b 100644
--- a/xts5/src/lib/settimeout.c
+++ b/xts5/src/lib/settimeout.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <signal.h>
diff --git a/xts5/src/lib/stackorder.c b/xts5/src/lib/stackorder.c
index 8318a25d..8945078e 100644
--- a/xts5/src/lib/stackorder.c
+++ b/xts5/src/lib/stackorder.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/startcall.c b/xts5/src/lib/startcall.c
index d7b0d396..5ff0ab16 100644
--- a/xts5/src/lib/startcall.c
+++ b/xts5/src/lib/startcall.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "stdio.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/lib/startup.c b/xts5/src/lib/startup.c
index 2168307c..2fe40235 100644
--- a/xts5/src/lib/startup.c
+++ b/xts5/src/lib/startup.c
@@ -116,6 +116,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "unistd.h"
#include "stdlib.h"
diff --git a/xts5/src/lib/tpstartup.c b/xts5/src/lib/tpstartup.c
index 07210094..8de6817e 100644
--- a/xts5/src/lib/tpstartup.c
+++ b/xts5/src/lib/tpstartup.c
@@ -112,6 +112,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/verimage.c b/xts5/src/lib/verimage.c
index 87ef7720..62b21d2f 100644
--- a/xts5/src/lib/verimage.c
+++ b/xts5/src/lib/verimage.c
@@ -112,6 +112,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "string.h"
diff --git a/xts5/src/lib/winh.c b/xts5/src/lib/winh.c
index 62bafd0d..76cae5a5 100644
--- a/xts5/src/lib/winh.c
+++ b/xts5/src/lib/winh.c
@@ -111,6 +111,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/lib/xthost.c b/xts5/src/lib/xthost.c
index af5113df..133ce4b9 100644
--- a/xts5/src/lib/xthost.c
+++ b/xts5/src/lib/xthost.c
@@ -138,6 +138,10 @@ purpose. It is provided "as is" without express or implied warranty.
* if it is not possible or convenient to use string notation.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/src/libXR5/blowup.c b/xts5/src/libXR5/blowup.c
index 60be3796..e088e5e6 100644
--- a/xts5/src/libXR5/blowup.c
+++ b/xts5/src/libXR5/blowup.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h> /* xlib defs */
diff --git a/xts5/src/libXR5/bufdisp.c b/xts5/src/libXR5/bufdisp.c
index 703dadcd..2ecb7caa 100644
--- a/xts5/src/libXR5/bufdisp.c
+++ b/xts5/src/libXR5/bufdisp.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
#include <r5structs.h>
diff --git a/xts5/src/libXR5/chek.c b/xts5/src/libXR5/chek.c
index 5204b09a..d4089adf 100644
--- a/xts5/src/libXR5/chek.c
+++ b/xts5/src/libXR5/chek.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Xlib.h>
#include <r5structs.h>
#include <r5decl.h>
diff --git a/xts5/src/libXR5/dumpbuf.c b/xts5/src/libXR5/dumpbuf.c
index c740505c..53fc2355 100644
--- a/xts5/src/libXR5/dumpbuf.c
+++ b/xts5/src/libXR5/dumpbuf.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <r5structs.h>
#include <r5decl.h>
diff --git a/xts5/src/libXR5/event.c b/xts5/src/libXR5/event.c
index ec65b04e..85879cf3 100644
--- a/xts5/src/libXR5/event.c
+++ b/xts5/src/libXR5/event.c
@@ -105,6 +105,10 @@ software without specific, written prior permission. UniSoft
makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h> /* standard i/o functions */
#include <X11/Xlib.h> /* standard x defs */
#include <X11/Xatom.h> /* standard x atom values */
diff --git a/xts5/src/libXR5/item.c b/xts5/src/libXR5/item.c
index da40ba4e..8785af09 100644
--- a/xts5/src/libXR5/item.c
+++ b/xts5/src/libXR5/item.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <r5structs.h>
#include <r5decl.h>
diff --git a/xts5/src/libXR5/message.c b/xts5/src/libXR5/message.c
index ffcd64fc..d579b982 100644
--- a/xts5/src/libXR5/message.c
+++ b/xts5/src/libXR5/message.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <r5structs.h>
diff --git a/xts5/src/libXR5/misc.c b/xts5/src/libXR5/misc.c
index 4537fc56..66e09f4b 100644
--- a/xts5/src/libXR5/misc.c
+++ b/xts5/src/libXR5/misc.c
@@ -105,6 +105,10 @@ software without specific, written prior permission. UniSoft
makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <X11/X.h>
diff --git a/xts5/src/libXR5/r5startup.c b/xts5/src/libXR5/r5startup.c
index e85ae9c0..4a9341c3 100644
--- a/xts5/src/libXR5/r5startup.c
+++ b/xts5/src/libXR5/r5startup.c
@@ -113,6 +113,10 @@ purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/xts5/src/libXR5/save.c b/xts5/src/libXR5/save.c
index c60ff0e1..d02c5c3a 100644
--- a/xts5/src/libXR5/save.c
+++ b/xts5/src/libXR5/save.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/xts5/src/libXR5/signal.c b/xts5/src/libXR5/signal.c
index 9b38815a..23e181c8 100644
--- a/xts5/src/libXR5/signal.c
+++ b/xts5/src/libXR5/signal.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Xlib.h>
#include <r5structs.h>
#include <r5decl.h>
diff --git a/xts5/src/libXtTest/AvsComp.c b/xts5/src/libXtTest/AvsComp.c
index a33c53cd..70e533d2 100644
--- a/xts5/src/libXtTest/AvsComp.c
+++ b/xts5/src/libXtTest/AvsComp.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtTest/AvsComp2.c b/xts5/src/libXtTest/AvsComp2.c
index 6a26d02c..feff0cf6 100644
--- a/xts5/src/libXtTest/AvsComp2.c
+++ b/xts5/src/libXtTest/AvsComp2.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtTest/AvsForm.c b/xts5/src/libXtTest/AvsForm.c
index 76fa4a73..7a2bc6b5 100644
--- a/xts5/src/libXtTest/AvsForm.c
+++ b/xts5/src/libXtTest/AvsForm.c
@@ -76,6 +76,10 @@ populations which are employed to determine if the superclass'
resources are reported
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtTest/AvsForm2.c b/xts5/src/libXtTest/AvsForm2.c
index 6451b90b..4e62d9a9 100644
--- a/xts5/src/libXtTest/AvsForm2.c
+++ b/xts5/src/libXtTest/AvsForm2.c
@@ -75,6 +75,10 @@ populations which are employed to determine if the superclass'
resources are reported
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtTest/AvsForm3.c b/xts5/src/libXtTest/AvsForm3.c
index 73ae8fa5..4245b3ae 100644
--- a/xts5/src/libXtTest/AvsForm3.c
+++ b/xts5/src/libXtTest/AvsForm3.c
@@ -68,6 +68,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtTest/AvsObj.c b/xts5/src/libXtTest/AvsObj.c
index f8ca874b..48be9a9e 100644
--- a/xts5/src/libXtTest/AvsObj.c
+++ b/xts5/src/libXtTest/AvsObj.c
@@ -95,6 +95,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtTest/AvsRectObj.c b/xts5/src/libXtTest/AvsRectObj.c
index a55435eb..ab19b84f 100644
--- a/xts5/src/libXtTest/AvsRectObj.c
+++ b/xts5/src/libXtTest/AvsRectObj.c
@@ -64,6 +64,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define AVSRECTOBJ
#include <X11/Intrinsic.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtTest/AvsWid.c b/xts5/src/libXtTest/AvsWid.c
index 2b354921..5c065ad7 100644
--- a/xts5/src/libXtTest/AvsWid.c
+++ b/xts5/src/libXtTest/AvsWid.c
@@ -64,6 +64,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtTest/avs_def.c b/xts5/src/libXtTest/avs_def.c
index 6c03ba1c..331aca53 100644
--- a/xts5/src/libXtTest/avs_def.c
+++ b/xts5/src/libXtTest/avs_def.c
@@ -68,6 +68,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
void XtConfigureWidget();
diff --git a/xts5/src/libXtTest/avs_func.c b/xts5/src/libXtTest/avs_func.c
index 81cf73bf..48ce29ea 100644
--- a/xts5/src/libXtTest/avs_func.c
+++ b/xts5/src/libXtTest/avs_func.c
@@ -69,6 +69,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
void XtConfigureWidget();
diff --git a/xts5/src/libXtTest/avs_hier.c b/xts5/src/libXtTest/avs_hier.c
index 1bcce58f..9606b7c2 100644
--- a/xts5/src/libXtTest/avs_hier.c
+++ b/xts5/src/libXtTest/avs_hier.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
extern Widget topLevel, panedw, boxw1, boxw2, rowcolw, click_quit, labelw;
diff --git a/xts5/src/libXtTest/avs_hierd.c b/xts5/src/libXtTest/avs_hierd.c
index 1a2abaee..9608bf8f 100644
--- a/xts5/src/libXtTest/avs_hierd.c
+++ b/xts5/src/libXtTest/avs_hierd.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
diff --git a/xts5/src/libXtTest/avs_init.c b/xts5/src/libXtTest/avs_init.c
index 69762dc7..959e86a6 100644
--- a/xts5/src/libXtTest/avs_init.c
+++ b/xts5/src/libXtTest/avs_init.c
@@ -76,6 +76,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
extern char ebuf[];
diff --git a/xts5/src/libXtTest/avs_tree.c b/xts5/src/libXtTest/avs_tree.c
index e6abb135..62f1e53f 100644
--- a/xts5/src/libXtTest/avs_tree.c
+++ b/xts5/src/libXtTest/avs_tree.c
@@ -63,6 +63,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
Widget avs_xt_tree(w)
diff --git a/xts5/src/libXtTest/avs_widget.c b/xts5/src/libXtTest/avs_widget.c
index 255fd125..461bac2c 100644
--- a/xts5/src/libXtTest/avs_widget.c
+++ b/xts5/src/libXtTest/avs_widget.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
/* Toolkit definitions */
diff --git a/xts5/src/libXtTest/avs_xext.c b/xts5/src/libXtTest/avs_xext.c
index 0a821904..fe68fec5 100644
--- a/xts5/src/libXtTest/avs_xext.c
+++ b/xts5/src/libXtTest/avs_xext.c
@@ -72,6 +72,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/Xlib.h>
diff --git a/xts5/src/libXtTest/box.c b/xts5/src/libXtTest/box.c
index fe400bca..e385bd9e 100644
--- a/xts5/src/libXtTest/box.c
+++ b/xts5/src/libXtTest/box.c
@@ -69,6 +69,10 @@ SOFTWARE.
* box.c - Box composite widget
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
/* Toolkit definitions */
diff --git a/xts5/src/libXtTest/check.c b/xts5/src/libXtTest/check.c
index 8c28da37..6f2d96bb 100644
--- a/xts5/src/libXtTest/check.c
+++ b/xts5/src/libXtTest/check.c
@@ -71,6 +71,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
char ebuf[4096];
diff --git a/xts5/src/libXtTest/errlook.c b/xts5/src/libXtTest/errlook.c
index e8820861..71515870 100644
--- a/xts5/src/libXtTest/errlook.c
+++ b/xts5/src/libXtTest/errlook.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <errno.h>
diff --git a/xts5/src/libXtTest/event.c b/xts5/src/libXtTest/event.c
index 8bd89b0d..dff148c2 100644
--- a/xts5/src/libXtTest/event.c
+++ b/xts5/src/libXtTest/event.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <sys/ipc.h>
diff --git a/xts5/src/libXtTest/eventname.c b/xts5/src/libXtTest/eventname.c
index 069975a8..037ef9b9 100644
--- a/xts5/src/libXtTest/eventname.c
+++ b/xts5/src/libXtTest/eventname.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
diff --git a/xts5/src/libXtTest/misc.c b/xts5/src/libXtTest/misc.c
index ff4762e6..2ad81587 100644
--- a/xts5/src/libXtTest/misc.c
+++ b/xts5/src/libXtTest/misc.c
@@ -60,6 +60,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <fcntl.h>
diff --git a/xts5/src/libXtTest/pshpop.c b/xts5/src/libXtTest/pshpop.c
index 9667ff86..b3e1d90f 100644
--- a/xts5/src/libXtTest/pshpop.c
+++ b/xts5/src/libXtTest/pshpop.c
@@ -68,6 +68,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <fcntl.h>
diff --git a/xts5/src/libXtTest/sendevent.c b/xts5/src/libXtTest/sendevent.c
index 8fc73bec..c1aec59d 100644
--- a/xts5/src/libXtTest/sendevent.c
+++ b/xts5/src/libXtTest/sendevent.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
/*error messages formatted here*/
diff --git a/xts5/src/libXtTest/sendmask.c b/xts5/src/libXtTest/sendmask.c
index d5682c70..787013c8 100644
--- a/xts5/src/libXtTest/sendmask.c
+++ b/xts5/src/libXtTest/sendmask.c
@@ -104,6 +104,10 @@ SOFTWARE.
**
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/Xatom.h> /* standard x atom values */
diff --git a/xts5/src/libXtTest/signals.c b/xts5/src/libXtTest/signals.c
index b2e918d2..98de9994 100644
--- a/xts5/src/libXtTest/signals.c
+++ b/xts5/src/libXtTest/signals.c
@@ -62,6 +62,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tet_api.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/xts5/src/libXtTest/waitfor.c b/xts5/src/libXtTest/waitfor.c
index 17643074..d8b001e9 100644
--- a/xts5/src/libXtTest/waitfor.c
+++ b/xts5/src/libXtTest/waitfor.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <sys/wait.h>
diff --git a/xts5/src/libXtTest/xhandler.c b/xts5/src/libXtTest/xhandler.c
index 4a4dd610..68c67ae5 100644
--- a/xts5/src/libXtTest/xhandler.c
+++ b/xts5/src/libXtTest/xhandler.c
@@ -61,6 +61,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
/*
diff --git a/xts5/src/libXtTest/xthandler.c b/xts5/src/libXtTest/xthandler.c
index 68711fa7..cc2fa80e 100644
--- a/xts5/src/libXtTest/xthandler.c
+++ b/xts5/src/libXtTest/xthandler.c
@@ -62,6 +62,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#define MIT_TET_WARNING 101
/*error messages formatted here*/
diff --git a/xts5/src/libXtTest/xunexperr.c b/xts5/src/libXtTest/xunexperr.c
index c87ec857..99db1f9d 100644
--- a/xts5/src/libXtTest/xunexperr.c
+++ b/xts5/src/libXtTest/xunexperr.c
@@ -62,6 +62,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/Xlib.h>
diff --git a/xts5/src/libXtaw/AllWidgets.c b/xts5/src/libXtaw/AllWidgets.c
index 54cec39e..a2cc160a 100644
--- a/xts5/src/libXtaw/AllWidgets.c
+++ b/xts5/src/libXtaw/AllWidgets.c
@@ -65,6 +65,10 @@ SOFTWARE.
* all the widgets in Athena widget set.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/Xmu/WidgetNode.h>
diff --git a/xts5/src/libXtaw/Box.c b/xts5/src/libXtaw/Box.c
index 27b648ac..382bad9a 100644
--- a/xts5/src/libXtaw/Box.c
+++ b/xts5/src/libXtaw/Box.c
@@ -90,6 +90,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xmu/Misc.h>
diff --git a/xts5/src/libXtaw/Command.c b/xts5/src/libXtaw/Command.c
index 39e772a1..6e33d504 100644
--- a/xts5/src/libXtaw/Command.c
+++ b/xts5/src/libXtaw/Command.c
@@ -88,6 +88,10 @@ SOFTWARE.
* Command.c - Command button widget
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/Form.c b/xts5/src/libXtaw/Form.c
index aa3479fd..8aca5734 100644
--- a/xts5/src/libXtaw/Form.c
+++ b/xts5/src/libXtaw/Form.c
@@ -87,6 +87,10 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xmu/Converters.h>
diff --git a/xts5/src/libXtaw/Grip.c b/xts5/src/libXtaw/Grip.c
index eec6af4e..99799f4d 100644
--- a/xts5/src/libXtaw/Grip.c
+++ b/xts5/src/libXtaw/Grip.c
@@ -88,6 +88,10 @@ SOFTWARE.
* Grip.c - Grip Widget (Used by Paned Widget)
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/XawInit.h>
diff --git a/xts5/src/libXtaw/Label.c b/xts5/src/libXtaw/Label.c
index 57c2ae6f..4bc38ea2 100644
--- a/xts5/src/libXtaw/Label.c
+++ b/xts5/src/libXtaw/Label.c
@@ -96,6 +96,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xos.h>
diff --git a/xts5/src/libXtaw/Paned.c b/xts5/src/libXtaw/Paned.c
index 8002144d..06413022 100644
--- a/xts5/src/libXtaw/Paned.c
+++ b/xts5/src/libXtaw/Paned.c
@@ -96,6 +96,10 @@ SOFTWARE.
* kit@expo.lcs.mit.edu
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/cursorfont.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/Scrollbar.c b/xts5/src/libXtaw/Scrollbar.c
index 5e2825eb..bf4941cd 100644
--- a/xts5/src/libXtaw/Scrollbar.c
+++ b/xts5/src/libXtaw/Scrollbar.c
@@ -88,6 +88,10 @@ SOFTWARE.
/* created by weissman, Mon Jul 7 13:20:03 1986 */
/* converted by swick, Thu Aug 27 1987 */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/Simple.c b/xts5/src/libXtaw/Simple.c
index b6b3fc6b..76ac938f 100644
--- a/xts5/src/libXtaw/Simple.c
+++ b/xts5/src/libXtaw/Simple.c
@@ -84,6 +84,10 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/SimpleMenu.c b/xts5/src/libXtaw/SimpleMenu.c
index 206115a0..13700777 100644
--- a/xts5/src/libXtaw/SimpleMenu.c
+++ b/xts5/src/libXtaw/SimpleMenu.c
@@ -97,6 +97,10 @@ SOFTWARE.
* kit@expo.lcs.mit.edu
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/Sme.c b/xts5/src/libXtaw/Sme.c
index 42c1cd9f..feb70679 100644
--- a/xts5/src/libXtaw/Sme.c
+++ b/xts5/src/libXtaw/Sme.c
@@ -91,6 +91,10 @@ SOFTWARE.
* kit@expo.lcs.mit.edu
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/SmeBSB.c b/xts5/src/libXtaw/SmeBSB.c
index fc403627..2844cc94 100644
--- a/xts5/src/libXtaw/SmeBSB.c
+++ b/xts5/src/libXtaw/SmeBSB.c
@@ -91,6 +91,10 @@ SOFTWARE.
* kit@expo.lcs.mit.edu
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xos.h>
diff --git a/xts5/src/libXtaw/Tree.c b/xts5/src/libXtaw/Tree.c
index 7de3411c..549f8095 100644
--- a/xts5/src/libXtaw/Tree.c
+++ b/xts5/src/libXtaw/Tree.c
@@ -89,6 +89,10 @@ SOFTWARE.
* as well as to support vertical trees.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/Viewport.c b/xts5/src/libXtaw/Viewport.c
index db4af3ed..3e56ceff 100644
--- a/xts5/src/libXtaw/Viewport.c
+++ b/xts5/src/libXtaw/Viewport.c
@@ -84,6 +84,10 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtaw/XawInit.c b/xts5/src/libXtaw/XawInit.c
index 7a0e9c12..09f1a68a 100644
--- a/xts5/src/libXtaw/XawInit.c
+++ b/xts5/src/libXtaw/XawInit.c
@@ -92,6 +92,10 @@ SOFTWARE.
* used as the class init proc).
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Vendor.h>
#include <X11/Xaw/XawInit.h>
diff --git a/xts5/src/libXtmu/CloseHook.c b/xts5/src/libXtmu/CloseHook.c
index 3df84af2..8ce12db9 100644
--- a/xts5/src/libXtmu/CloseHook.c
+++ b/xts5/src/libXtmu/CloseHook.c
@@ -110,6 +110,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h> /* for NULL */
#include <stdlib.h>
#include <X11/Xos.h>
diff --git a/xts5/src/libXtmu/CursorName.c b/xts5/src/libXtmu/CursorName.c
index ff15104b..db1d85f6 100644
--- a/xts5/src/libXtmu/CursorName.c
+++ b/xts5/src/libXtmu/CursorName.c
@@ -82,6 +82,10 @@ SOFTWARE.
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Xmu/CharSet.h>
#include <X11/Xmu/CurUtil.h>
diff --git a/xts5/src/libXtmu/CvtCache.c b/xts5/src/libXtmu/CvtCache.c
index 8ab12e89..b4282329 100644
--- a/xts5/src/libXtmu/CvtCache.c
+++ b/xts5/src/libXtmu/CvtCache.c
@@ -87,6 +87,10 @@ SOFTWARE.
* Author: Jim Fulton, MIT X Consortium
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
diff --git a/xts5/src/libXtmu/DisplayQue.c b/xts5/src/libXtmu/DisplayQue.c
index 228e6a17..de017ff2 100644
--- a/xts5/src/libXtmu/DisplayQue.c
+++ b/xts5/src/libXtmu/DisplayQue.c
@@ -87,6 +87,10 @@ SOFTWARE.
* Author: Jim Fulton, MIT X Consortium
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xos.h>
diff --git a/xts5/src/libXtmu/DrRndRect.c b/xts5/src/libXtmu/DrRndRect.c
index c1c125fa..ddda4c07 100644
--- a/xts5/src/libXtmu/DrRndRect.c
+++ b/xts5/src/libXtmu/DrRndRect.c
@@ -69,6 +69,10 @@ SOFTWARE.
* that the corners are drawn inside of.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Xlib.h>
void
diff --git a/xts5/src/libXtmu/GrayPixmap.c b/xts5/src/libXtmu/GrayPixmap.c
index 46908ac8..beacb14c 100644
--- a/xts5/src/libXtmu/GrayPixmap.c
+++ b/xts5/src/libXtmu/GrayPixmap.c
@@ -84,6 +84,10 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <X11/IntrinsicP.h>
diff --git a/xts5/src/libXtmu/Initer.c b/xts5/src/libXtmu/Initer.c
index 7e86957a..4f2d0895 100644
--- a/xts5/src/libXtmu/Initer.c
+++ b/xts5/src/libXtmu/Initer.c
@@ -83,6 +83,10 @@ SOFTWARE.
* Date: May 8, 1989
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Xmu/Initer.h>
diff --git a/xts5/src/libXtmu/LocBitmap.c b/xts5/src/libXtmu/LocBitmap.c
index bd433549..e1e1782e 100644
--- a/xts5/src/libXtmu/LocBitmap.c
+++ b/xts5/src/libXtmu/LocBitmap.c
@@ -84,6 +84,10 @@ SOFTWARE.
* Author: Jim Fulton, MIT X Consortium
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <X11/Xlib.h>
diff --git a/xts5/src/libXtmu/Lower.c b/xts5/src/libXtmu/Lower.c
index 5a2fa5b6..aad06659 100644
--- a/xts5/src/libXtmu/Lower.c
+++ b/xts5/src/libXtmu/Lower.c
@@ -75,6 +75,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define XK_LATIN1
#include <X11/keysymdef.h>
#include <X11/Xmu/CharSet.h>
diff --git a/xts5/src/libXtmu/RdBitF.c b/xts5/src/libXtmu/RdBitF.c
index 673340ad..ab43b8ee 100644
--- a/xts5/src/libXtmu/RdBitF.c
+++ b/xts5/src/libXtmu/RdBitF.c
@@ -107,6 +107,10 @@ SOFTWARE.
* Based on an optimized version provided by Jim Becker, Auguest 5, 1988.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/xts5/src/libXtmu/ShapeWidg.c b/xts5/src/libXtmu/ShapeWidg.c
index 8edc63aa..6045002f 100644
--- a/xts5/src/libXtmu/ShapeWidg.c
+++ b/xts5/src/libXtmu/ShapeWidg.c
@@ -75,6 +75,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/extensions/shape.h>
#include <X11/Xmu/Converters.h>
diff --git a/xts5/src/libXtmu/StrToBS.c b/xts5/src/libXtmu/StrToBS.c
index b3f60d64..238f700b 100644
--- a/xts5/src/libXtmu/StrToBS.c
+++ b/xts5/src/libXtmu/StrToBS.c
@@ -78,6 +78,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Xmu/Converters.h>
#include <X11/Xmu/CharSet.h>
diff --git a/xts5/src/libXtmu/StrToCurs.c b/xts5/src/libXtmu/StrToCurs.c
index 6a646ca3..1bebed9d 100644
--- a/xts5/src/libXtmu/StrToCurs.c
+++ b/xts5/src/libXtmu/StrToCurs.c
@@ -84,6 +84,10 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h> /* 'cause CoreP.h needs it */
#include <X11/CoreP.h> /* just to do XtConvert() */
#include <X11/StringDefs.h>
diff --git a/xts5/src/libXtmu/StrToJust.c b/xts5/src/libXtmu/StrToJust.c
index 1b3b1265..21e634de 100644
--- a/xts5/src/libXtmu/StrToJust.c
+++ b/xts5/src/libXtmu/StrToJust.c
@@ -78,6 +78,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Xmu/Converters.h>
#include <X11/Xmu/CharSet.h>
diff --git a/xts5/src/libXtmu/StrToOrnt.c b/xts5/src/libXtmu/StrToOrnt.c
index bfd56aea..ebe5e57c 100644
--- a/xts5/src/libXtmu/StrToOrnt.c
+++ b/xts5/src/libXtmu/StrToOrnt.c
@@ -78,6 +78,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xmu/Converters.h>
diff --git a/xts5/src/libXtmu/StrToShap.c b/xts5/src/libXtmu/StrToShap.c
index 3c482aed..2be83e34 100644
--- a/xts5/src/libXtmu/StrToShap.c
+++ b/xts5/src/libXtmu/StrToShap.c
@@ -75,6 +75,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/Xmu/Converters.h>
#include <X11/Xmu/CharSet.h>
diff --git a/xts5/src/libXtmu/StrToWidg.c b/xts5/src/libXtmu/StrToWidg.c
index b137334c..9b3e9c55 100644
--- a/xts5/src/libXtmu/StrToWidg.c
+++ b/xts5/src/libXtmu/StrToWidg.c
@@ -90,6 +90,10 @@ SOFTWARE.
* or popup) of the parent. If none match, compares string to classname
* & returns first match. Case is significant.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/ObjectP.h>
diff --git a/xts5/src/libproto/ClientMng.c b/xts5/src/libproto/ClientMng.c
index 5218d0f1..351197dd 100644
--- a/xts5/src/libproto/ClientMng.c
+++ b/xts5/src/libproto/ClientMng.c
@@ -129,6 +129,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include <X11/Xatom.h>
diff --git a/xts5/src/libproto/DataMove.c b/xts5/src/libproto/DataMove.c
index 68fbac1f..df2b74a5 100644
--- a/xts5/src/libproto/DataMove.c
+++ b/xts5/src/libproto/DataMove.c
@@ -133,6 +133,10 @@ SOFTWARE.
extern unsigned char native_byte_sex ();
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/DfltVals.c b/xts5/src/libproto/DfltVals.c
index a5d458ef..af7ef668 100644
--- a/xts5/src/libproto/DfltVals.c
+++ b/xts5/src/libproto/DfltVals.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
/*ARGSUSED*/
diff --git a/xts5/src/libproto/Expect.c b/xts5/src/libproto/Expect.c
index 28b43bce..0ed9d456 100644
--- a/xts5/src/libproto/Expect.c
+++ b/xts5/src/libproto/Expect.c
@@ -129,6 +129,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#define Dont_Log_Twice(cl) do {\
diff --git a/xts5/src/libproto/Log.c b/xts5/src/libproto/Log.c
index 2c9ecbb6..fee97ef3 100644
--- a/xts5/src/libproto/Log.c
+++ b/xts5/src/libproto/Log.c
@@ -127,6 +127,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "stdlib.h"
#include "tet_api.h"
diff --git a/xts5/src/libproto/MakeReq.c b/xts5/src/libproto/MakeReq.c
index 7d213486..3f8762f8 100644
--- a/xts5/src/libproto/MakeReq.c
+++ b/xts5/src/libproto/MakeReq.c
@@ -140,6 +140,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DataMove.h"
#include "XstlibInt.h"
#include <X11/Xatom.h>
diff --git a/xts5/src/libproto/MakeXIReq.c b/xts5/src/libproto/MakeXIReq.c
index 392d71ef..1eee1782 100644
--- a/xts5/src/libproto/MakeXIReq.c
+++ b/xts5/src/libproto/MakeXIReq.c
@@ -150,6 +150,10 @@ SOFTWARE.
* $Header: /cvs/xtest/xtest/xts5/src/libproto/MakeXIReq.c,v 1.3 2005-11-03 08:42:02 jmichael Exp $
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/MakeXIReq.c,v 1.3 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/RcvErr.c b/xts5/src/libproto/RcvErr.c
index c0ccd0ef..c1361a6a 100644
--- a/xts5/src/libproto/RcvErr.c
+++ b/xts5/src/libproto/RcvErr.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/RcvEvt.c b/xts5/src/libproto/RcvEvt.c
index 4f017d9c..15bba2a0 100644
--- a/xts5/src/libproto/RcvEvt.c
+++ b/xts5/src/libproto/RcvEvt.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#ifdef Xpi
#include "xtestext1.h"
diff --git a/xts5/src/libproto/RcvExtErr.c b/xts5/src/libproto/RcvExtErr.c
index b3bb3779..c2710f0e 100644
--- a/xts5/src/libproto/RcvExtErr.c
+++ b/xts5/src/libproto/RcvExtErr.c
@@ -130,6 +130,10 @@ SOFTWARE.
* $Header: /cvs/xtest/xtest/xts5/src/libproto/RcvExtErr.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/RcvExtErr.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/RcvExtEvt.c b/xts5/src/libproto/RcvExtEvt.c
index 9b7aa71f..6f4f480a 100644
--- a/xts5/src/libproto/RcvExtEvt.c
+++ b/xts5/src/libproto/RcvExtEvt.c
@@ -134,6 +134,10 @@ SOFTWARE.
* $Header: /cvs/xtest/xtest/xts5/src/libproto/RcvExtEvt.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/RcvExtEvt.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/RcvExtRep.c b/xts5/src/libproto/RcvExtRep.c
index 6e8ca7bf..febcfe84 100644
--- a/xts5/src/libproto/RcvExtRep.c
+++ b/xts5/src/libproto/RcvExtRep.c
@@ -129,6 +129,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/RcvExtRep.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/RcvRep.c b/xts5/src/libproto/RcvRep.c
index b4a9752d..b22a295a 100644
--- a/xts5/src/libproto/RcvRep.c
+++ b/xts5/src/libproto/RcvRep.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#ifdef Xpi
#include "xtestext1.h"
diff --git a/xts5/src/libproto/ResMng.c b/xts5/src/libproto/ResMng.c
index f5a69817..aedab275 100644
--- a/xts5/src/libproto/ResMng.c
+++ b/xts5/src/libproto/ResMng.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
diff --git a/xts5/src/libproto/SendEvt.c b/xts5/src/libproto/SendEvt.c
index b468bbca..df61a1ba 100644
--- a/xts5/src/libproto/SendEvt.c
+++ b/xts5/src/libproto/SendEvt.c
@@ -127,6 +127,10 @@ SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/SendReq.c b/xts5/src/libproto/SendReq.c
index 906f3ccc..68778451 100644
--- a/xts5/src/libproto/SendReq.c
+++ b/xts5/src/libproto/SendReq.c
@@ -144,6 +144,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/SendSup.c b/xts5/src/libproto/SendSup.c
index 494803c3..ddfac6b7 100644
--- a/xts5/src/libproto/SendSup.c
+++ b/xts5/src/libproto/SendSup.c
@@ -131,6 +131,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/SendXIReq.c b/xts5/src/libproto/SendXIReq.c
index 92110161..8f6deec1 100644
--- a/xts5/src/libproto/SendXIReq.c
+++ b/xts5/src/libproto/SendXIReq.c
@@ -141,6 +141,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/SendXIReq.c,v 1.3 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/ShowErr.c b/xts5/src/libproto/ShowErr.c
index ccc43609..3dd05998 100644
--- a/xts5/src/libproto/ShowErr.c
+++ b/xts5/src/libproto/ShowErr.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
void
diff --git a/xts5/src/libproto/ShowEvt.c b/xts5/src/libproto/ShowEvt.c
index 99099e97..539a52f2 100644
--- a/xts5/src/libproto/ShowEvt.c
+++ b/xts5/src/libproto/ShowEvt.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define FirstExtensionEvent 64
#include "XstlibInt.h"
diff --git a/xts5/src/libproto/ShowExtErr.c b/xts5/src/libproto/ShowExtErr.c
index 96935dc4..ecc6dac3 100644
--- a/xts5/src/libproto/ShowExtErr.c
+++ b/xts5/src/libproto/ShowExtErr.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/ShowExtErr.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/ShowExtEvt.c b/xts5/src/libproto/ShowExtEvt.c
index 93adddd7..2b0001e8 100644
--- a/xts5/src/libproto/ShowExtEvt.c
+++ b/xts5/src/libproto/ShowExtEvt.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/ShowExtEvt.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/ShowExtRep.c b/xts5/src/libproto/ShowExtRep.c
index 70de5256..65faca4e 100644
--- a/xts5/src/libproto/ShowExtRep.c
+++ b/xts5/src/libproto/ShowExtRep.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/ShowExtRep.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/ShowExtReq.c b/xts5/src/libproto/ShowExtReq.c
index a4bf35fc..39e8043e 100644
--- a/xts5/src/libproto/ShowExtReq.c
+++ b/xts5/src/libproto/ShowExtReq.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef lint
static char rcsid[]="$Header: /cvs/xtest/xtest/xts5/src/libproto/ShowExtReq.c,v 1.2 2005-11-03 08:42:02 jmichael Exp $";
#endif
diff --git a/xts5/src/libproto/ShowRep.c b/xts5/src/libproto/ShowRep.c
index a490cd90..d2ea3a30 100644
--- a/xts5/src/libproto/ShowRep.c
+++ b/xts5/src/libproto/ShowRep.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/ShowReq.c b/xts5/src/libproto/ShowReq.c
index b9f99080..0acbac86 100644
--- a/xts5/src/libproto/ShowReq.c
+++ b/xts5/src/libproto/ShowReq.c
@@ -133,6 +133,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
void
diff --git a/xts5/src/libproto/ShowSup.c b/xts5/src/libproto/ShowSup.c
index ae037e94..7e3e4703 100644
--- a/xts5/src/libproto/ShowSup.c
+++ b/xts5/src/libproto/ShowSup.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
static char scratchbuf[PRTBUFSIZ]; /* ? */
diff --git a/xts5/src/libproto/TestMng.c b/xts5/src/libproto/TestMng.c
index 49b4be87..8c9b4d02 100644
--- a/xts5/src/libproto/TestMng.c
+++ b/xts5/src/libproto/TestMng.c
@@ -133,6 +133,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "setjmp.h"
#include "stdlib.h"
diff --git a/xts5/src/libproto/TestSup.c b/xts5/src/libproto/TestSup.c
index ddabf1bd..a16b3e0c 100644
--- a/xts5/src/libproto/TestSup.c
+++ b/xts5/src/libproto/TestSup.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "Xstlib.h"
diff --git a/xts5/src/libproto/Timer.c b/xts5/src/libproto/Timer.c
index eb3e3142..31ea80d5 100644
--- a/xts5/src/libproto/Timer.c
+++ b/xts5/src/libproto/Timer.c
@@ -136,6 +136,10 @@ SOFTWARE.
* SIGALRM. They are thus not available for other purposes, such as sleep(3).
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include <signal.h>
diff --git a/xts5/src/libproto/Utils.c b/xts5/src/libproto/Utils.c
index ae0a46c0..227e0b2e 100644
--- a/xts5/src/libproto/Utils.c
+++ b/xts5/src/libproto/Utils.c
@@ -134,6 +134,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include <signal.h>
diff --git a/xts5/src/libproto/ValListMng.c b/xts5/src/libproto/ValListMng.c
index 0c0e889e..0b0fe451 100644
--- a/xts5/src/libproto/ValListMng.c
+++ b/xts5/src/libproto/ValListMng.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "DataMove.h"
diff --git a/xts5/src/libproto/Validate.c b/xts5/src/libproto/Validate.c
index 1cd15d52..97b7cee7 100644
--- a/xts5/src/libproto/Validate.c
+++ b/xts5/src/libproto/Validate.c
@@ -126,6 +126,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "Xstlib.h"
#include <X11/X.h>
diff --git a/xts5/src/libproto/XlibNoXtst.c b/xts5/src/libproto/XlibNoXtst.c
index 2647e5d4..7f933d62 100644
--- a/xts5/src/libproto/XlibNoXtst.c
+++ b/xts5/src/libproto/XlibNoXtst.c
@@ -155,6 +155,10 @@ SOFTWARE.
* internal interface to the MIT release or else you don't have source.
* See the documentation of the build parameter XP_OPEN_DIS for more details.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
diff --git a/xts5/src/libproto/XlibOpaque.c b/xts5/src/libproto/XlibOpaque.c
index f74928f8..35b5b90d 100644
--- a/xts5/src/libproto/XlibOpaque.c
+++ b/xts5/src/libproto/XlibOpaque.c
@@ -158,6 +158,10 @@ SOFTWARE.
* really for BSD type environments and may represent a portability constraint.
* See the documentation of the build parameter XP_OPEN_DIS for more details.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
diff --git a/xts5/src/libproto/XlibXtst.c b/xts5/src/libproto/XlibXtst.c
index 31cb56e7..9774b450 100644
--- a/xts5/src/libproto/XlibXtst.c
+++ b/xts5/src/libproto/XlibXtst.c
@@ -161,6 +161,10 @@ SOFTWARE.
* really for BSD type environments and may represent a portability constraint.
* See the documentation of the build parameter XP_OPEN_DIS for more details.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
diff --git a/xts5/src/libproto/XstIO.c b/xts5/src/libproto/XstIO.c
index f152239f..8edcb55d 100644
--- a/xts5/src/libproto/XstIO.c
+++ b/xts5/src/libproto/XstIO.c
@@ -137,6 +137,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "XstlibInt.h"
#include "XstosInt.h"
diff --git a/xts5/src/libproto/delete.c b/xts5/src/libproto/delete.c
index a6aded90..dc586ea0 100644
--- a/xts5/src/libproto/delete.c
+++ b/xts5/src/libproto/delete.c
@@ -114,6 +114,10 @@ purpose. It is provided "as is" without express or implied warranty.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "xtest.h"
#include "tet_api.h"
diff --git a/xts5/src/libproto/linkstart.c b/xts5/src/libproto/linkstart.c
index 4f775d6e..2f9ae7bb 100644
--- a/xts5/src/libproto/linkstart.c
+++ b/xts5/src/libproto/linkstart.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "xtest.h"
#include "tet_api.h"
#include "stdlib.h"
diff --git a/xts5/src/libproto/startup.c b/xts5/src/libproto/startup.c
index b9712418..036a5aac 100644
--- a/xts5/src/libproto/startup.c
+++ b/xts5/src/libproto/startup.c
@@ -129,6 +129,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "unistd.h"
#include "string.h"
diff --git a/xts5/src/libproto/tpstartup.c b/xts5/src/libproto/tpstartup.c
index d47f1933..7b310c31 100644
--- a/xts5/src/libproto/tpstartup.c
+++ b/xts5/src/libproto/tpstartup.c
@@ -129,6 +129,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdio.h"
#include "unistd.h"
#include "string.h"
diff --git a/xts5/src/pixval/blowup/ajax.c b/xts5/src/pixval/blowup/ajax.c
index 5ef6ea5c..1d712a25 100644
--- a/xts5/src/pixval/blowup/ajax.c
+++ b/xts5/src/pixval/blowup/ajax.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "stdlib.h"
#include "xtest.h"
#include "stdio.h"
diff --git a/xts5/src/pixval/blowup/vblowup_c.c b/xts5/src/pixval/blowup/vblowup_c.c
index 0cb009e5..a52e2cd3 100644
--- a/xts5/src/pixval/blowup/vblowup_c.c
+++ b/xts5/src/pixval/blowup/vblowup_c.c
@@ -269,6 +269,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "X11/Xlib.h" /* xlib defs */
#include "X11/cursorfont.h" /* cursor info */
diff --git a/xts5/src/xim/clnlocale.c b/xts5/src/xim/clnlocale.c
index 19ec0c48..b84597fc 100644
--- a/xts5/src/xim/clnlocale.c
+++ b/xts5/src/xim/clnlocale.c
@@ -120,6 +120,10 @@ 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
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/xim/ic.c b/xts5/src/xim/ic.c
index a6edf9ce..cdc53eeb 100644
--- a/xts5/src/xim/ic.c
+++ b/xts5/src/xim/ic.c
@@ -119,6 +119,10 @@ 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
+
#include "xtest.h"
#include "X11/Xlib.h"
#include "X11/Xutil.h"
diff --git a/xts5/src/xim/linklocale.c b/xts5/src/xim/linklocale.c
index 55f512b5..8ef2bb25 100644
--- a/xts5/src/xim/linklocale.c
+++ b/xts5/src/xim/linklocale.c
@@ -120,6 +120,10 @@ 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
+
#include <stdio.h>
#include <string.h>
#include "xtest.h"
diff --git a/xts5/src/xim/nextlclmod.c b/xts5/src/xim/nextlclmod.c
index c95d3d36..12c2f95d 100644
--- a/xts5/src/xim/nextlclmod.c
+++ b/xts5/src/xim/nextlclmod.c
@@ -127,6 +127,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
* Functions to cycle through all the locale modifiers that are supported.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/nextlocale.c b/xts5/src/xim/nextlocale.c
index 7b46d71f..609a845c 100644
--- a/xts5/src/xim/nextlocale.c
+++ b/xts5/src/xim/nextlocale.c
@@ -131,6 +131,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
* Functions to cycle through all the locales that are supported.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <locale.h>
diff --git a/xts5/src/xim/nxtfontset.c b/xts5/src/xim/nxtfontset.c
index e9ee4aba..3ddbcc7c 100644
--- a/xts5/src/xim/nxtfontset.c
+++ b/xts5/src/xim/nxtfontset.c
@@ -128,6 +128,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
* Functions to cycle through all the fontsets specified by the user.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/parse.c b/xts5/src/xim/parse.c
index a1ca4b1c..819dbffe 100644
--- a/xts5/src/xim/parse.c
+++ b/xts5/src/xim/parse.c
@@ -120,6 +120,10 @@ 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
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/response.c b/xts5/src/xim/response.c
index 040dccbb..8eca7eb8 100644
--- a/xts5/src/xim/response.c
+++ b/xts5/src/xim/response.c
@@ -125,6 +125,10 @@ 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
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/stimulus.c b/xts5/src/xim/stimulus.c
index f502f4fb..84a9e853 100644
--- a/xts5/src/xim/stimulus.c
+++ b/xts5/src/xim/stimulus.c
@@ -120,6 +120,10 @@ 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
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/xim_cb.c b/xts5/src/xim/xim_cb.c
index 1b883882..3d2c8df8 100644
--- a/xts5/src/xim/xim_cb.c
+++ b/xts5/src/xim/xim_cb.c
@@ -123,6 +123,10 @@ 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
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/xim_comp.c b/xts5/src/xim/xim_comp.c
index 6e56cbe3..913fa8fa 100644
--- a/xts5/src/xim/xim_comp.c
+++ b/xts5/src/xim/xim_comp.c
@@ -120,6 +120,10 @@ 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
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/src/xim/xim_save.c b/xts5/src/xim/xim_save.c
index 70f76702..49ba6bfb 100644
--- a/xts5/src/xim/xim_save.c
+++ b/xts5/src/xim/xim_save.c
@@ -123,6 +123,10 @@ 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
+
#include <stdio.h>
#include <string.h>
diff --git a/xts5/tset/Xlib12/dsplynm/Test1.c b/xts5/tset/Xlib12/dsplynm/Test1.c
index 32424a79..63c420b2 100644
--- a/xts5/tset/Xlib12/dsplynm/Test1.c
+++ b/xts5/tset/Xlib12/dsplynm/Test1.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib15/stwmprprts/Test1.c b/xts5/tset/Xlib15/stwmprprts/Test1.c
index 623b9819..653b9a08 100644
--- a/xts5/tset/Xlib15/stwmprprts/Test1.c
+++ b/xts5/tset/Xlib15/stwmprprts/Test1.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib15/stwmprprts/Test2.c b/xts5/tset/Xlib15/stwmprprts/Test2.c
index 719d9b7c..fc16c30a 100644
--- a/xts5/tset/Xlib15/stwmprprts/Test2.c
+++ b/xts5/tset/Xlib15/stwmprprts/Test2.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib17/gtdflt/Test3.c b/xts5/tset/Xlib17/gtdflt/Test3.c
index dbac480f..5819cdce 100644
--- a/xts5/tset/Xlib17/gtdflt/Test3.c
+++ b/xts5/tset/Xlib17/gtdflt/Test3.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib17/gtdflt/Test4.c b/xts5/tset/Xlib17/gtdflt/Test4.c
index 81ba05f5..479c0dd3 100644
--- a/xts5/tset/Xlib17/gtdflt/Test4.c
+++ b/xts5/tset/Xlib17/gtdflt/Test4.c
@@ -106,6 +106,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib17/gtdflt/Test5.c b/xts5/tset/Xlib17/gtdflt/Test5.c
index b8ed31df..9eb69741 100644
--- a/xts5/tset/Xlib17/gtdflt/Test5.c
+++ b/xts5/tset/Xlib17/gtdflt/Test5.c
@@ -109,6 +109,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib3/dsplystr/Test1.c b/xts5/tset/Xlib3/dsplystr/Test1.c
index 597fafc6..36730163 100644
--- a/xts5/tset/Xlib3/dsplystr/Test1.c
+++ b/xts5/tset/Xlib3/dsplystr/Test1.c
@@ -107,6 +107,10 @@ software without specific, written prior permission. UniSoft
makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xlib3/opndsply/Test1.c b/xts5/tset/Xlib3/opndsply/Test1.c
index 51b1bf86..b753850a 100644
--- a/xts5/tset/Xlib3/opndsply/Test1.c
+++ b/xts5/tset/Xlib3/opndsply/Test1.c
@@ -108,6 +108,10 @@ makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include <X11/Xlib.h>
diff --git a/xts5/tset/Xopen/kysym/Test0.c b/xts5/tset/Xopen/kysym/Test0.c
index 3f88857b..5013b371 100644
--- a/xts5/tset/Xopen/kysym/Test0.c
+++ b/xts5/tset/Xopen/kysym/Test0.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/Test1.c b/xts5/tset/Xopen/kysym/Test1.c
index d6ea108e..2e943fdd 100644
--- a/xts5/tset/Xopen/kysym/Test1.c
+++ b/xts5/tset/Xopen/kysym/Test1.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/Test2.c b/xts5/tset/Xopen/kysym/Test2.c
index c0ea20b4..be1b0578 100644
--- a/xts5/tset/Xopen/kysym/Test2.c
+++ b/xts5/tset/Xopen/kysym/Test2.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/Test3.c b/xts5/tset/Xopen/kysym/Test3.c
index dcbcda16..a4d75012 100644
--- a/xts5/tset/Xopen/kysym/Test3.c
+++ b/xts5/tset/Xopen/kysym/Test3.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/Test4.c b/xts5/tset/Xopen/kysym/Test4.c
index 409ad660..5769b0fa 100644
--- a/xts5/tset/Xopen/kysym/Test4.c
+++ b/xts5/tset/Xopen/kysym/Test4.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/TestG.c b/xts5/tset/Xopen/kysym/TestG.c
index cf7b6382..92de46b4 100644
--- a/xts5/tset/Xopen/kysym/TestG.c
+++ b/xts5/tset/Xopen/kysym/TestG.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysym/TestM.c b/xts5/tset/Xopen/kysym/TestM.c
index f23b2a67..bd5c5ec3 100644
--- a/xts5/tset/Xopen/kysym/TestM.c
+++ b/xts5/tset/Xopen/kysym/TestM.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/Test0.c b/xts5/tset/Xopen/kysymdf/Test0.c
index 80953466..d579428f 100644
--- a/xts5/tset/Xopen/kysymdf/Test0.c
+++ b/xts5/tset/Xopen/kysymdf/Test0.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/Test1.c b/xts5/tset/Xopen/kysymdf/Test1.c
index e8844f89..5c870cfe 100644
--- a/xts5/tset/Xopen/kysymdf/Test1.c
+++ b/xts5/tset/Xopen/kysymdf/Test1.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/Test2.c b/xts5/tset/Xopen/kysymdf/Test2.c
index 571bbd7a..6891b4ba 100644
--- a/xts5/tset/Xopen/kysymdf/Test2.c
+++ b/xts5/tset/Xopen/kysymdf/Test2.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/Test3.c b/xts5/tset/Xopen/kysymdf/Test3.c
index aed38714..bce03c7c 100644
--- a/xts5/tset/Xopen/kysymdf/Test3.c
+++ b/xts5/tset/Xopen/kysymdf/Test3.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/Test4.c b/xts5/tset/Xopen/kysymdf/Test4.c
index 87c6edce..3f9cf0ca 100644
--- a/xts5/tset/Xopen/kysymdf/Test4.c
+++ b/xts5/tset/Xopen/kysymdf/Test4.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestA.c b/xts5/tset/Xopen/kysymdf/TestA.c
index 1c17c83d..91e75881 100644
--- a/xts5/tset/Xopen/kysymdf/TestA.c
+++ b/xts5/tset/Xopen/kysymdf/TestA.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestC.c b/xts5/tset/Xopen/kysymdf/TestC.c
index 7c1889a7..ef2876fd 100644
--- a/xts5/tset/Xopen/kysymdf/TestC.c
+++ b/xts5/tset/Xopen/kysymdf/TestC.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestG.c b/xts5/tset/Xopen/kysymdf/TestG.c
index 09672c2b..3d7e3f1a 100644
--- a/xts5/tset/Xopen/kysymdf/TestG.c
+++ b/xts5/tset/Xopen/kysymdf/TestG.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestH.c b/xts5/tset/Xopen/kysymdf/TestH.c
index 55d883fe..92cca2ee 100644
--- a/xts5/tset/Xopen/kysymdf/TestH.c
+++ b/xts5/tset/Xopen/kysymdf/TestH.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestK.c b/xts5/tset/Xopen/kysymdf/TestK.c
index d3777bab..8627cb3d 100644
--- a/xts5/tset/Xopen/kysymdf/TestK.c
+++ b/xts5/tset/Xopen/kysymdf/TestK.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestL.c b/xts5/tset/Xopen/kysymdf/TestL.c
index ddf7f1df..7c53ba70 100644
--- a/xts5/tset/Xopen/kysymdf/TestL.c
+++ b/xts5/tset/Xopen/kysymdf/TestL.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestM.c b/xts5/tset/Xopen/kysymdf/TestM.c
index 2f68fd2b..5eaf48b1 100644
--- a/xts5/tset/Xopen/kysymdf/TestM.c
+++ b/xts5/tset/Xopen/kysymdf/TestM.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestP.c b/xts5/tset/Xopen/kysymdf/TestP.c
index 5bda3223..405d0383 100644
--- a/xts5/tset/Xopen/kysymdf/TestP.c
+++ b/xts5/tset/Xopen/kysymdf/TestP.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestS.c b/xts5/tset/Xopen/kysymdf/TestS.c
index 4cbbd3ef..f490537c 100644
--- a/xts5/tset/Xopen/kysymdf/TestS.c
+++ b/xts5/tset/Xopen/kysymdf/TestS.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymdf/TestT.c b/xts5/tset/Xopen/kysymdf/TestT.c
index 55a9ec16..6017144f 100644
--- a/xts5/tset/Xopen/kysymdf/TestT.c
+++ b/xts5/tset/Xopen/kysymdf/TestT.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/Test1.c b/xts5/tset/Xopen/kysymtkycd/Test1.c
index c46e1ffb..72a6b26e 100644
--- a/xts5/tset/Xopen/kysymtkycd/Test1.c
+++ b/xts5/tset/Xopen/kysymtkycd/Test1.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/Test2.c b/xts5/tset/Xopen/kysymtkycd/Test2.c
index 1bff78be..dd6a8dcf 100644
--- a/xts5/tset/Xopen/kysymtkycd/Test2.c
+++ b/xts5/tset/Xopen/kysymtkycd/Test2.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/Test3.c b/xts5/tset/Xopen/kysymtkycd/Test3.c
index fb8c885a..8586bf0b 100644
--- a/xts5/tset/Xopen/kysymtkycd/Test3.c
+++ b/xts5/tset/Xopen/kysymtkycd/Test3.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/Test4.c b/xts5/tset/Xopen/kysymtkycd/Test4.c
index 0ef0babc..2b75214e 100644
--- a/xts5/tset/Xopen/kysymtkycd/Test4.c
+++ b/xts5/tset/Xopen/kysymtkycd/Test4.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestA.c b/xts5/tset/Xopen/kysymtkycd/TestA.c
index 0e203851..f1915b12 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestA.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestA.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestC.c b/xts5/tset/Xopen/kysymtkycd/TestC.c
index 55628fef..b08f9bd2 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestC.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestC.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestG.c b/xts5/tset/Xopen/kysymtkycd/TestG.c
index 4ac36e24..4988a419 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestG.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestG.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestH.c b/xts5/tset/Xopen/kysymtkycd/TestH.c
index 1fe42131..6419aa95 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestH.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestH.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestK.c b/xts5/tset/Xopen/kysymtkycd/TestK.c
index 285ac27f..9da5b232 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestK.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestK.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestL.c b/xts5/tset/Xopen/kysymtkycd/TestL.c
index 62ac202b..933418cf 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestL.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestL.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestM.c b/xts5/tset/Xopen/kysymtkycd/TestM.c
index b18573a2..8092afe8 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestM.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestM.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestP.c b/xts5/tset/Xopen/kysymtkycd/TestP.c
index 2e77ca5a..88d3adf5 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestP.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestP.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestS.c b/xts5/tset/Xopen/kysymtkycd/TestS.c
index 8428f49d..5b869fa2 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestS.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestS.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/kysymtkycd/TestT.c b/xts5/tset/Xopen/kysymtkycd/TestT.c
index e4b716fc..5f964222 100644
--- a/xts5/tset/Xopen/kysymtkycd/TestT.c
+++ b/xts5/tset/Xopen/kysymtkycd/TestT.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/Test1.c b/xts5/tset/Xopen/strtkysym/Test1.c
index 7bf7df5c..d3c61308 100644
--- a/xts5/tset/Xopen/strtkysym/Test1.c
+++ b/xts5/tset/Xopen/strtkysym/Test1.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/Test2.c b/xts5/tset/Xopen/strtkysym/Test2.c
index 8f25a687..b809f157 100644
--- a/xts5/tset/Xopen/strtkysym/Test2.c
+++ b/xts5/tset/Xopen/strtkysym/Test2.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/Test3.c b/xts5/tset/Xopen/strtkysym/Test3.c
index 3f3e0de5..edf503b2 100644
--- a/xts5/tset/Xopen/strtkysym/Test3.c
+++ b/xts5/tset/Xopen/strtkysym/Test3.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/Test4.c b/xts5/tset/Xopen/strtkysym/Test4.c
index 459c3524..7c00376f 100644
--- a/xts5/tset/Xopen/strtkysym/Test4.c
+++ b/xts5/tset/Xopen/strtkysym/Test4.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestA.c b/xts5/tset/Xopen/strtkysym/TestA.c
index 027764a7..defa3b63 100644
--- a/xts5/tset/Xopen/strtkysym/TestA.c
+++ b/xts5/tset/Xopen/strtkysym/TestA.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestC.c b/xts5/tset/Xopen/strtkysym/TestC.c
index b62f1894..cbc980a4 100644
--- a/xts5/tset/Xopen/strtkysym/TestC.c
+++ b/xts5/tset/Xopen/strtkysym/TestC.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestG.c b/xts5/tset/Xopen/strtkysym/TestG.c
index e3744e6a..18f690a0 100644
--- a/xts5/tset/Xopen/strtkysym/TestG.c
+++ b/xts5/tset/Xopen/strtkysym/TestG.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestH.c b/xts5/tset/Xopen/strtkysym/TestH.c
index 82e81e04..d0e88c78 100644
--- a/xts5/tset/Xopen/strtkysym/TestH.c
+++ b/xts5/tset/Xopen/strtkysym/TestH.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestK.c b/xts5/tset/Xopen/strtkysym/TestK.c
index b6563235..79375488 100644
--- a/xts5/tset/Xopen/strtkysym/TestK.c
+++ b/xts5/tset/Xopen/strtkysym/TestK.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestL.c b/xts5/tset/Xopen/strtkysym/TestL.c
index 861a7f6c..f8caa339 100644
--- a/xts5/tset/Xopen/strtkysym/TestL.c
+++ b/xts5/tset/Xopen/strtkysym/TestL.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestM.c b/xts5/tset/Xopen/strtkysym/TestM.c
index 530671d2..15322384 100644
--- a/xts5/tset/Xopen/strtkysym/TestM.c
+++ b/xts5/tset/Xopen/strtkysym/TestM.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestP.c b/xts5/tset/Xopen/strtkysym/TestP.c
index 6d5c1ad6..38a27ecc 100644
--- a/xts5/tset/Xopen/strtkysym/TestP.c
+++ b/xts5/tset/Xopen/strtkysym/TestP.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestS.c b/xts5/tset/Xopen/strtkysym/TestS.c
index c3dc36ec..7bc304f3 100644
--- a/xts5/tset/Xopen/strtkysym/TestS.c
+++ b/xts5/tset/Xopen/strtkysym/TestS.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xopen/strtkysym/TestT.c b/xts5/tset/Xopen/strtkysym/TestT.c
index f1b7b9ab..015a35fc 100644
--- a/xts5/tset/Xopen/strtkysym/TestT.c
+++ b/xts5/tset/Xopen/strtkysym/TestT.c
@@ -76,6 +76,10 @@ SOFTWARE.
* the UK and other countries.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include "xtest.h"
#include "X11/Xlib.h"
diff --git a/xts5/tset/Xt3/tchcksbcls/Test12.c b/xts5/tset/Xt3/tchcksbcls/Test12.c
index 46715285..2b385b5f 100644
--- a/xts5/tset/Xt3/tchcksbcls/Test12.c
+++ b/xts5/tset/Xt3/tchcksbcls/Test12.c
@@ -62,6 +62,10 @@ SOFTWARE.
/*must be defined for these tests before Intrinsic.h is included
in XtTest.h*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define DEBUG
#include <XtTest.h>
diff --git a/xts5/tset/Xt3/tchcksbcls/Test3.c b/xts5/tset/Xt3/tchcksbcls/Test3.c
index 1d59b137..0fc0410b 100644
--- a/xts5/tset/Xt3/tchcksbcls/Test3.c
+++ b/xts5/tset/Xt3/tchcksbcls/Test3.c
@@ -60,6 +60,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
char ebuf[4096];
diff --git a/xts5/tset/Xt8/tqrygomty/tqrygomty.c b/xts5/tset/Xt8/tqrygomty/tqrygomty.c
index 884b93ea..de0a4fb9 100644
--- a/xts5/tset/Xt8/tqrygomty/tqrygomty.c
+++ b/xts5/tset/Xt8/tqrygomty/tqrygomty.c
@@ -57,6 +57,10 @@ SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/IntrinsicP.h>
#include <X11/ConstrainP.h>
diff --git a/xts5/tset/Xt9/tcalafocs/tcalafocs2.c b/xts5/tset/Xt9/tcalafocs/tcalafocs2.c
index a7c93781..3c51d701 100644
--- a/xts5/tset/Xt9/tcalafocs/tcalafocs2.c
+++ b/xts5/tset/Xt9/tcalafocs/tcalafocs2.c
@@ -58,6 +58,10 @@ SOFTWARE.
*
*/
/*harness includes*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <XtTest.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>