gallium: Always include xorg-server.h before other X server headers.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 23 Apr 2009 11:20:22 +0000 (12:20 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Thu, 23 Apr 2009 11:20:22 +0000 (12:20 +0100)
Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading
to inconsistent definitions of X server internal structs.

src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c

index 0d29b1e5727c757aa58c243936af6cbb690ae19b..401bd39dac00e50bacb61519be76f2e6c2466a9d 100644 (file)
@@ -28,6 +28,7 @@
  *
  */
 
+#include "xorg-server.h"
 #include "xf86.h"
 #include "xf86_OSproc.h"
 
index ee61de1ea720075b1c449d9af906f15d71151aff..d743e1e300e4c20600e3b1578611a3d43cac7927 100644 (file)
@@ -28,6 +28,7 @@
  *
  */
 
+#include "xorg-server.h"
 #include "xf86.h"
 #include "xorg_tracker.h"