summaryrefslogtreecommitdiff
path: root/src/maprules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maprules.c')
-rw-r--r--src/maprules.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/maprules.c b/src/maprules.c
index 03ca51e..53decdc 100644
--- a/src/maprules.c
+++ b/src/maprules.c
@@ -28,11 +28,10 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#endif
-
-#ifdef HAVE_CONFIG_H
+#elif defined(HAVE_CONFIG_H)
#include <config.h>
#endif
+
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
@@ -67,9 +66,9 @@
#include "misc.h"
#include "inputstr.h"
#include "dix.h"
-#include "XKBstr.h"
+#include <X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS
-#include "XKBsrv.h"
+#include <X11/extensions/XKBsrv.h>
#endif