Fix inclusion order of dix-config.h, so _XSERVER64 gets defined before X.h

or Xdefs.h get included. (Jürg Billeter)
This commit is contained in:
Daniel Stone 2005-08-21 19:29:55 +00:00
commit 79be1f6d4d
3 changed files with 12 additions and 9 deletions

View file

@ -32,6 +32,10 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/programs/Xserver/mi/midispcur.c,v 1.9 2002/12/09 04:10:57 tsi Exp $ */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#define NEED_EVENTS
# include <X11/X.h>
# include "misc.h"
@ -45,9 +49,6 @@ in this Software without prior written authorization from The Open Group.
# include "mipointer.h"
# include "misprite.h"
# include "gcstruct.h"
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifdef ARGB_CURSOR
# include "picturestr.h"