summaryrefslogtreecommitdiff
path: root/src/xkmread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkmread.c')
-rw-r--r--src/xkmread.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/xkmread.c b/src/xkmread.c
index 3f38a4f..f22941f 100644
--- a/src/xkmread.c
+++ b/src/xkmread.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 <X11/Xos.h>
@@ -52,16 +51,16 @@
#else
-#include "X.h"
+#include <X11/X.h>
#define NEED_EVENTS
-#include "Xproto.h"
+#include <X11/Xproto.h>
#include <X11/keysym.h>
#include "misc.h"
#include "inputstr.h"
-#include "XKBstr.h"
+#include <X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS
-#include "XKBsrv.h"
-#include "XKBgeom.h"
+#include <X11/extensions/XKBsrv.h>
+#include <X11/extensions/XKBgeom.h>
Atom
XkbInternAtom(Display *dpy,char *str,Bool only_if_exists)