summaryrefslogtreecommitdiff
path: root/xkb/xkbfmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkb/xkbfmisc.c')
-rw-r--r--xkb/xkbfmisc.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/xkb/xkbfmisc.c b/xkb/xkbfmisc.c
index f55ab5bdf..cca31f778 100644
--- a/xkb/xkbfmisc.c
+++ b/xkb/xkbfmisc.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"