summaryrefslogtreecommitdiff
path: root/src/xkbmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkbmisc.c')
-rw-r--r--src/xkbmisc.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/xkbmisc.c b/src/xkbmisc.c
index f55ab5b..cca31f7 100644
--- a/src/xkbmisc.c
+++ b/src/xkbmisc.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>
@@ -51,16 +50,16 @@
#else
-#include "X.h"
+#include <X11/X.h>
#define NEED_EVENTS
#include <X11/keysym.h>
-#include "Xproto.h"
+#include <X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
#include "dix.h"
-#include "XKBstr.h"
+#include <X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS 1
-#include "XKBsrv.h"
+#include <X11/extensions/XKBsrv.h>
#include <X11/extensions/XKBgeom.h>
#include "xkb.h"