summaryrefslogtreecommitdiff
path: root/src/xkbconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkbconfig.c')
-rw-r--r--src/xkbconfig.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/xkbconfig.c b/src/xkbconfig.c
index 3d582d1..7930979 100644
--- a/src/xkbconfig.c
+++ b/src/xkbconfig.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,15 +50,15 @@
#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"
#define XKBSRV_NEED_FILE_FUNCS
-#include "XKBsrv.h"
+#include <X11/extensions/XKBsrv.h>
#endif
#include <X11/extensions/XKBconfig.h>