summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-08-31 14:58:09 +0000
committerKristian Høgsberg <krh@redhat.com>2005-08-31 14:58:09 +0000
commita65c5796133d126b1810749b5206607e7c42d787 (patch)
tree111f56a3181b0ac6b3cae85ea3b6d7743a67316b /xkb
parent9d3b5e89d691b79ea3361e6dc82938c22d70d0e3 (diff)
Include xkb-config.h if we have it so we pick up the paths defined there.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/ddxLoad.c4
-rw-r--r--xkb/xkbInit.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index 66ce9014d..71c742163 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <dix-config.h>
#endif
+#ifdef HAVE_XKB_CONFIG_H
+#include <xkb-config.h>
+#endif
+
#include <stdio.h>
#include <ctype.h>
#define NEED_EVENTS 1
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index 0c3aee7e8..7816573c0 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -31,6 +31,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <dix-config.h>
#endif
+#ifdef HAVE_XKB_CONFIG_H
+#include <xkb-config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>