summaryrefslogtreecommitdiff
path: root/mi/mipointer.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-08-21 19:29:55 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-08-21 19:29:55 +0000
commit79be1f6d4d1ab48841d31d5553dd36b1b3632650 (patch)
tree0122585136aed85792bddfc3950b9273ef32f3d4 /mi/mipointer.c
parent8d6e743bc4e6854ee0bb0fa4f197acd6d7683ccd (diff)
Fix inclusion order of dix-config.h, so _XSERVER64 gets defined before X.h
or Xdefs.h get included. (Jürg Billeter)
Diffstat (limited to 'mi/mipointer.c')
-rw-r--r--mi/mipointer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index db6f8bce9..432cc1606 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -30,6 +30,10 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/programs/Xserver/mi/mipointer.c,v 3.9 2001/09/04 14:03:28 dawes Exp $ */
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
# define NEED_EVENTS
# include <X11/X.h>
# include <X11/Xmd.h>
@@ -527,9 +531,6 @@ _miRegisterPointerDevice (pScreen, pDevice)
}
/* obsolete: for binary compatibility */
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
#ifdef miRegisterPointerDevice
#undef miRegisterPointerDevice