summaryrefslogtreecommitdiff
path: root/xkb/XKBAlloc.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-07-03 07:37:35 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-07-03 07:37:35 +0000
commit46b64bd5c66abb1bb9f3538c887d10867607bfff (patch)
tree300ec43d4ac86416fc063d9c7ccd17da78e0af0b /xkb/XKBAlloc.c
parente03198972ca78b03ad13cb49112c03a052bb763b (diff)
Fix more include paths; add dix-config.h to XKB code.
Diffstat (limited to 'xkb/XKBAlloc.c')
-rw-r--r--xkb/XKBAlloc.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/xkb/XKBAlloc.c b/xkb/XKBAlloc.c
index c415380ee..9430ac0ed 100644
--- a/xkb/XKBAlloc.c
+++ b/xkb/XKBAlloc.c
@@ -28,13 +28,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
+#elif defined(HAVE_CONFIG_H)
+#include <config.h>
#endif
#ifndef XKB_IN_SERVER
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
@@ -47,14 +46,14 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#else
#include <stdio.h>
-#include "X.h"
+#include <X11/X.h>
#define NEED_EVENTS
#define NEED_REPLIES
-#include "Xproto.h"
+#include <X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
-#include "XKBsrv.h"
-#include "XKBgeom.h"
+#include <X11/extensions/XKBsrv.h>
+#include <X11/extensions/XKBgeom.h>
#endif /* XKB_IN_SERVER */