summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ActionHook.c3
-rw-r--r--src/Alloc.c3
-rw-r--r--src/ArgList.c3
-rw-r--r--src/Callback.c3
-rw-r--r--src/ClickTime.c3
-rw-r--r--src/Composite.c3
-rw-r--r--src/Constraint.c3
-rw-r--r--src/Convert.c3
-rw-r--r--src/Converters.c3
-rw-r--r--src/Core.c3
-rw-r--r--src/Create.c3
-rw-r--r--src/Destroy.c3
-rw-r--r--src/Display.c3
-rw-r--r--src/Error.c3
-rw-r--r--src/Event.c3
-rw-r--r--src/EventUtil.c3
-rw-r--r--src/Functions.c3
-rw-r--r--src/GCManager.c3
-rw-r--r--src/Geometry.c3
-rw-r--r--src/GetActKey.c3
-rw-r--r--src/GetResList.c3
-rw-r--r--src/GetValues.c3
-rw-r--r--src/HookObj.c3
-rw-r--r--src/Hooks.c3
-rw-r--r--src/Initialize.c3
-rw-r--r--src/Intrinsic.c3
-rw-r--r--src/Keyboard.c3
-rw-r--r--src/Makefile.am85
-rw-r--r--src/Manage.c3
-rw-r--r--src/NextEvent.c3
-rw-r--r--src/Object.c3
-rw-r--r--src/PassivGrab.c3
-rw-r--r--src/Pointer.c3
-rw-r--r--src/Popup.c3
-rw-r--r--src/PopupCB.c3
-rw-r--r--src/RectObj.c3
-rw-r--r--src/ResConfig.c3
-rw-r--r--src/Resources.c3
-rw-r--r--src/Selection.c3
-rw-r--r--src/SetSens.c3
-rw-r--r--src/SetValues.c3
-rw-r--r--src/SetWMCW.c3
-rw-r--r--src/Shell.c3
-rw-r--r--src/TMaction.c3
-rw-r--r--src/TMgrab.c3
-rw-r--r--src/TMkey.c3
-rw-r--r--src/TMparse.c3
-rw-r--r--src/TMprint.c3
-rw-r--r--src/TMstate.c3
-rw-r--r--src/Threads.c3
-rw-r--r--src/VarCreate.c3
-rw-r--r--src/VarGet.c3
-rw-r--r--src/Varargs.c3
-rw-r--r--src/Vendor.c3
-rw-r--r--src/sharedlib.c3
55 files changed, 247 insertions, 0 deletions
diff --git a/src/ActionHook.c b/src/ActionHook.c
index 2845fed..6c2fe2b 100644
--- a/src/ActionHook.c
+++ b/src/ActionHook.c
@@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group.
* Contains XtAppAddActionHook, XtRemoveActionHook
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
diff --git a/src/Alloc.c b/src/Alloc.c
index ebcfdb7..1312db2 100644
--- a/src/Alloc.c
+++ b/src/Alloc.c
@@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group.
* Uses Xlib memory management, which is spec'd to be re-entrant.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "InitialI.h"
#undef _XBCOPYFUNC
diff --git a/src/ArgList.c b/src/ArgList.c
index f893b9d..622f313 100644
--- a/src/ArgList.c
+++ b/src/ArgList.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <stdio.h>
diff --git a/src/Callback.c b/src/Callback.c
index d84c115..03aae52 100644
--- a/src/Callback.c
+++ b/src/Callback.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Callback.c,v 1.8 2001/12/14 19:56:08 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
static String XtNinvalidCallbackList = "invalidCallbackList";
diff --git a/src/ClickTime.c b/src/ClickTime.c
index 9472330..bfebd42 100644
--- a/src/ClickTime.c
+++ b/src/ClickTime.c
@@ -63,6 +63,9 @@ in this Software without prior written authorization from The Open Group.
* Contains XtSetMultiClickTime, XtGetMultiClickTime
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
void XtSetMultiClickTime(
diff --git a/src/Composite.c b/src/Composite.c
index 0b48e51..7a90975 100644
--- a/src/Composite.c
+++ b/src/Composite.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/Composite.c,v 1.5 2001/08/22 22:52:17 dawes Exp $ */
#define XT_COMPOSITE
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/Constraint.c b/src/Constraint.c
index e8ef7f3..dd9b523 100644
--- a/src/Constraint.c
+++ b/src/Constraint.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/Constraint.c,v 1.2 2001/08/22 22:52:17 dawes Exp $ */
#define CONSTRAINT
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/Convert.c b/src/Convert.c
index 136e7e9..c3bb3c6 100644
--- a/src/Convert.c
+++ b/src/Convert.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "Intrinsic.h"
diff --git a/src/Converters.c b/src/Converters.c
index a3c41a4..acb572e 100644
--- a/src/Converters.c
+++ b/src/Converters.c
@@ -63,6 +63,9 @@ in this Software without prior written authorization from The Open Group.
/*LINTLIBRARY*/
/* Conversion.c - implementations of resource type conversion procs */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "Shell.h"
diff --git a/src/Core.c b/src/Core.c
index 990a683..d30b493 100644
--- a/src/Core.c
+++ b/src/Core.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
#define _XT_CORE_C
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicP.h"
#include "EventI.h"
#include "ConvertI.h"
diff --git a/src/Create.c b/src/Create.c
index 19236d4..d3417a1 100644
--- a/src/Create.c
+++ b/src/Create.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h"
#include "ShellP.h"
diff --git a/src/Destroy.c b/src/Destroy.c
index 53aae31..60f1b27 100644
--- a/src/Destroy.c
+++ b/src/Destroy.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Destroy.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
struct _DestroyRec {
diff --git a/src/Display.c b/src/Display.c
index 13151f1..2812aa8 100644
--- a/src/Display.c
+++ b/src/Display.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
#include "ResConfigP.h"
diff --git a/src/Error.c b/src/Error.c
index 18c9e25..b1badc9 100644
--- a/src/Error.c
+++ b/src/Error.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/Event.c b/src/Event.c
index 8992f10..1d564f9 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Event.c,v 3.10 2001/12/14 19:56:11 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "Shell.h"
#include "StringDefs.h"
diff --git a/src/EventUtil.c b/src/EventUtil.c
index e38c904..929d83d 100644
--- a/src/EventUtil.c
+++ b/src/EventUtil.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/EventUtil.c,v 1.6 2001/12/14 19:56:13 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "PassivGraI.h"
#include "StringDefs.h"
diff --git a/src/Functions.c b/src/Functions.c
index f6cf87e..074a60f 100644
--- a/src/Functions.c
+++ b/src/Functions.c
@@ -49,6 +49,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <X11/Shell.h>
#include <X11/Vendor.h>
diff --git a/src/GCManager.c b/src/GCManager.c
index 127d8df..c09cb22 100644
--- a/src/GCManager.c
+++ b/src/GCManager.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/GCManager.c,v 1.5 2001/08/22 22:52:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
diff --git a/src/Geometry.c b/src/Geometry.c
index 2c1cca2..b183bfd 100644
--- a/src/Geometry.c
+++ b/src/Geometry.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Geometry.c,v 1.12 2001/12/14 19:56:15 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "ShellP.h"
#include "ShellI.h"
diff --git a/src/GetActKey.c b/src/GetActKey.c
index efa8cde..20cae5e 100644
--- a/src/GetActKey.c
+++ b/src/GetActKey.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
KeySym XtGetActionKeysym(
diff --git a/src/GetResList.c b/src/GetResList.c
index 4c1ec6f..8f99398 100644
--- a/src/GetResList.c
+++ b/src/GetResList.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "Intrinsic.h"
diff --git a/src/GetValues.c b/src/GetValues.c
index 73ab7b1..f6b8e1f 100644
--- a/src/GetValues.c
+++ b/src/GetValues.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/GetValues.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/HookObj.c b/src/HookObj.c
index 98417f9..f4ac749 100644
--- a/src/HookObj.c
+++ b/src/HookObj.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/HookObj.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
/******************************************************************
diff --git a/src/Hooks.c b/src/Hooks.c
index 5c113e1..05b67ce 100644
--- a/src/Hooks.c
+++ b/src/Hooks.c
@@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group.
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "CreateI.h"
diff --git a/src/Initialize.c b/src/Initialize.c
index 83dc7e3..bbc84b9 100644
--- a/src/Initialize.c
+++ b/src/Initialize.c
@@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group.
/* Make sure all wm properties can make it out of the resource manager */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "CoreP.h"
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index 263c546..3e6af47 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group.
#define INTRINSIC_C
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h" /* for geoTattler */
#ifndef NO_IDENTIFY_WINDOWS
diff --git a/src/Keyboard.c b/src/Keyboard.c
index 0d81e89..82bcc24 100644
--- a/src/Keyboard.c
+++ b/src/Keyboard.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Keyboard.c,v 3.3 2001/08/22 22:52:19 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "PassivGraI.h"
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..7f25d75
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,85 @@
+lib_LTLIBRARIES = libXt.la
+
+BUILT_SOURCES = $(BUILT_FILES)
+CLEANFILES = $(BUILT_SOURCES)
+
+INCLUDES = -I$(top_srcdir)/include/X11/
+
+nodist_libXt_la_SOURCES = StringDefs.c
+
+libXt_la_SOURCES = \
+ ActionHook.c \
+ Alloc.c \
+ ArgList.c \
+ Callback.c \
+ CallbackI.h \
+ ClickTime.c \
+ Composite.c \
+ Constraint.c \
+ Convert.c \
+ ConvertI.h \
+ Converters.c \
+ Core.c \
+ Create.c \
+ CreateI.h \
+ Destroy.c \
+ Display.c \
+ Error.c \
+ Event.c \
+ EventI.h \
+ EventUtil.c \
+ Functions.c \
+ GCManager.c \
+ Geometry.c \
+ GetActKey.c \
+ GetResList.c \
+ GetValues.c \
+ HookObj.c \
+ HookObjI.h \
+ Hooks.c \
+ InitialI.h \
+ Initialize.c \
+ Intrinsic.c \
+ IntrinsicI.h \
+ Keyboard.c \
+ Manage.c \
+ NextEvent.c \
+ Object.c \
+ PassivGraI.h \
+ PassivGrab.c \
+ Pointer.c \
+ Popup.c \
+ PopupCB.c \
+ RectObj.c \
+ ResConfig.c \
+ ResConfigP.h \
+ ResourceI.h \
+ Resources.c \
+ Selection.c \
+ SelectionI.h \
+ SetSens.c \
+ SetValues.c \
+ SetWMCW.c \
+ Shell.c \
+ ShellI.h \
+ TMaction.c \
+ TMgrab.c \
+ TMkey.c \
+ TMparse.c \
+ TMprint.c \
+ TMstate.c \
+ Threads.c \
+ ThreadsI.h \
+ TranslateI.h \
+ VarCreate.c \
+ VarGet.c \
+ Varargs.c \
+ VarargsI.h \
+ Vendor.c \
+ Xtos.h \
+ sharedlib.c
+
+libXt_la_LIBADD = @XT_LIBS@
+
+libXt_la_LDFLAGS = -version-info 6:1:0
+
diff --git a/src/Manage.c b/src/Manage.c
index 65a1477..05957a2 100644
--- a/src/Manage.c
+++ b/src/Manage.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
static String XtNinvalidChild = "invalidChild";
diff --git a/src/NextEvent.c b/src/NextEvent.c
index 86f4204..0df3a5a 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/NextEvent.c,v 3.26 2002/06/04 21:55:42 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <stdio.h>
#include <errno.h>
diff --git a/src/Object.c b/src/Object.c
index c048060..f762a25 100644
--- a/src/Object.c
+++ b/src/Object.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/Object.c,v 1.5 2001/01/17 19:43:06 dawes Exp $ */
#define OBJECT
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/PassivGrab.c b/src/PassivGrab.c
index 86398cb..377efdc 100644
--- a/src/PassivGrab.c
+++ b/src/PassivGrab.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "PassivGraI.h"
diff --git a/src/Pointer.c b/src/Pointer.c
index 1922951..bbcb133 100644
--- a/src/Pointer.c
+++ b/src/Pointer.c
@@ -50,6 +50,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "PassivGraI.h"
diff --git a/src/Popup.c b/src/Popup.c
index d7bd94f..aac712d 100644
--- a/src/Popup.c
+++ b/src/Popup.c
@@ -48,6 +48,9 @@ SOFTWARE.
******************************************************************/
/* $XFree86$ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "ShellP.h"
diff --git a/src/PopupCB.c b/src/PopupCB.c
index eca2352..be5fd85 100644
--- a/src/PopupCB.c
+++ b/src/PopupCB.c
@@ -47,6 +47,9 @@ SOFTWARE.
******************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
/* ARGSUSED */
diff --git a/src/RectObj.c b/src/RectObj.c
index df313d0..07bbd1f 100644
--- a/src/RectObj.c
+++ b/src/RectObj.c
@@ -49,6 +49,9 @@ SOFTWARE.
/* $XFree86: xc/lib/Xt/RectObj.c,v 1.2 2001/08/22 22:52:19 dawes Exp $ */
#define RECTOBJ
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "CreateI.h"
diff --git a/src/ResConfig.c b/src/ResConfig.c
index 7182e64..4c2e736 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -54,6 +54,9 @@ Corporation.
******************************************************************/
/* $XFree86: xc/lib/Xt/ResConfig.c,v 3.7 2001/08/22 22:52:19 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Intrinsic.h"
#include "IntrinsicI.h"
#include "Core.h"
diff --git a/src/Resources.c b/src/Resources.c
index 9b826d5..7da7d90 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/Resources.c,v 1.11tsi Exp $ */
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h"
#include "Shell.h"
diff --git a/src/Selection.c b/src/Selection.c
index 1f41d2f..46c75f8 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Selection.c,v 3.9 2001/12/14 19:56:29 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "SelectionI.h"
diff --git a/src/SetSens.c b/src/SetSens.c
index 23dd0d4..ad2b6f4 100644
--- a/src/SetSens.c
+++ b/src/SetSens.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/SetSens.c,v 1.3 2001/12/14 19:56:29 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/SetValues.c b/src/SetValues.c
index 32bb90a..d9e8a46 100644
--- a/src/SetValues.c
+++ b/src/SetValues.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/SetValues.c,v 1.2 2001/08/22 22:52:19 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
/*
diff --git a/src/SetWMCW.c b/src/SetWMCW.c
index 44b0103..d6d1858 100644
--- a/src/SetWMCW.c
+++ b/src/SetWMCW.c
@@ -41,6 +41,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <X11/Xatom.h>
diff --git a/src/Shell.c b/src/Shell.c
index 12762d6..b3e57b8 100644
--- a/src/Shell.c
+++ b/src/Shell.c
@@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group.
#define DEFAULT_WM_TIMEOUT 5000
#endif
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "Shell.h"
diff --git a/src/TMaction.c b/src/TMaction.c
index 68ca9c2..54a8402 100644
--- a/src/TMaction.c
+++ b/src/TMaction.c
@@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group.
* manager.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
diff --git a/src/TMgrab.c b/src/TMgrab.c
index 601e0bb..9fc4df9 100644
--- a/src/TMgrab.c
+++ b/src/TMgrab.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/TMgrab.c,v 1.3 2001/12/14 19:56:30 dawes Exp $ */
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
typedef struct _GrabActionRec {
diff --git a/src/TMkey.c b/src/TMkey.c
index 7218c56..4194445 100644
--- a/src/TMkey.c
+++ b/src/TMkey.c
@@ -67,6 +67,9 @@ in this Software without prior written authorization from The Open Group.
#define XK_LATIN3
#define XK_LATIN4
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <X11/keysymdef.h>
#ifdef XKB
diff --git a/src/TMparse.c b/src/TMparse.c
index 5aed5c4..25522fb 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include <ctype.h>
diff --git a/src/TMprint.c b/src/TMprint.c
index ef1b763..7b7bde2 100644
--- a/src/TMprint.c
+++ b/src/TMprint.c
@@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/TMprint.c,v 1.6 2001/12/14 19:56:31 dawes Exp $ */
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include <stdio.h>
diff --git a/src/TMstate.c b/src/TMstate.c
index e0ca38d..6049474 100644
--- a/src/TMstate.c
+++ b/src/TMstate.c
@@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group.
*/
/*LINTLIBRARY*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#ifndef TM_NO_MATCH
diff --git a/src/Threads.c b/src/Threads.c
index 09af93d..aad17ca 100644
--- a/src/Threads.c
+++ b/src/Threads.c
@@ -55,6 +55,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Threads.c,v 3.6 2001/12/14 19:56:31 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#ifdef XTHREADS
diff --git a/src/VarCreate.c b/src/VarCreate.c
index ddff0f0..b3761e8 100644
--- a/src/VarCreate.c
+++ b/src/VarCreate.c
@@ -54,6 +54,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/VarCreate.c,v 3.6 2001/08/22 22:52:20 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "Shell.h"
diff --git a/src/VarGet.c b/src/VarGet.c
index 37db500..cdb425a 100644
--- a/src/VarGet.c
+++ b/src/VarGet.c
@@ -53,6 +53,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/VarGet.c,v 1.7 2001/07/29 05:01:12 tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h"
#include "StringDefs.h"
diff --git a/src/Varargs.c b/src/Varargs.c
index 270391d..37d3c64 100644
--- a/src/Varargs.c
+++ b/src/Varargs.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/Xt/Varargs.c,v 3.10 2001/12/14 19:56:32 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h"
#include "StringDefs.h"
diff --git a/src/Vendor.c b/src/Vendor.c
index aa2e7a6..42c289c 100644
--- a/src/Vendor.c
+++ b/src/Vendor.c
@@ -50,6 +50,9 @@ SOFTWARE.
/* Make sure all wm properties can make it out of the resource manager */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "StringDefs.h"
#include "Shell.h"
diff --git a/src/sharedlib.c b/src/sharedlib.c
index a3dc6a7..699302c 100644
--- a/src/sharedlib.c
+++ b/src/sharedlib.c
@@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/Xt/sharedlib.c,v 3.7 2002/05/31 18:45:46 dawes Exp $ */
#if (defined(SUNSHLIB) || defined(AIXSHLIB)) && !defined(SHAREDCODE)
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "IntrinsicI.h"
#include "VarargsI.h"
#include "ShellP.h"