summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-07-16 03:49:59 +0000
committerKevin E Martin <kem@kem.org>2005-07-16 03:49:59 +0000
commit5f81eb1d89f623dd9281e686a4d4d4f403e459c6 (patch)
tree48af6c32b1288fb1186b0c6bb51b3d8a2577275e /xkb
parent0635acab08bade9bfd9d2abd3ea5a3fe525bc647 (diff)
Fix the *-config.h includes so that it is possible to build modules without
having to use -include in the Makefile.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/ddxKillSrv.c4
-rw-r--r--xkb/ddxPrivate.c4
-rw-r--r--xkb/ddxVT.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/xkb/ddxKillSrv.c b/xkb/ddxKillSrv.c
index 2e6ad6ee3..ee0acb028 100644
--- a/xkb/ddxKillSrv.c
+++ b/xkb/ddxKillSrv.c
@@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <dix-config.h>
#endif
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#include <stdio.h>
#define NEED_EVENTS 1
#include <X11/X.h>
diff --git a/xkb/ddxPrivate.c b/xkb/ddxPrivate.c
index b2b2dadc4..5c0bca4cd 100644
--- a/xkb/ddxPrivate.c
+++ b/xkb/ddxPrivate.c
@@ -4,6 +4,10 @@
#include <dix-config.h>
#endif
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#include <stdio.h>
#define NEED_EVENTS 1
#include <X11/X.h>
diff --git a/xkb/ddxVT.c b/xkb/ddxVT.c
index 9e0ac9dd2..1b7853fa0 100644
--- a/xkb/ddxVT.c
+++ b/xkb/ddxVT.c
@@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <dix-config.h>
#endif
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#include <stdio.h>
#define NEED_EVENTS 1
#include <X11/X.h>