Skip to contentSkip to conversation

include xorg-server.h first for _XSERVER64

PATCH New Maya Rashish 1 participant 1 message Sep 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include xorg-server.h first for _XSERVER64

Avoids error with defining conflicting types.

---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
configure.ac +3 -3
index ee588815..fc76e955 100644
@@ -495,10 +495,10 @@ if test "x$_EXT_CHECK" != "xno" -a "x$DRI" != "xno" -a "x$DRI1" != "xno" -a "x$U
         CFLAGS="$CFLAGS $XORG_CFLAGS $DRI1_CFLAGS $DRM_CFLAGS"
         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS $DRI1_CFLAGS $DRM_CFLAGS"
         AC_CHECK_HEADERS([dri.h sarea.h dristruct.h], [], [have_dri1=no],
-                [/* for dri.h */
-                 #include <xf86str.h>
-                 /* for dristruct.h */
+                [/* for dristruct.h */
                  #include <xorg-server.h>
+                 /* for dri.h */
+                 #include <xf86str.h>
                  #ifdef HAVE_DRI_H
                  # include <dri.h>
                  #endif
Signature · 6 lines
2.18.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx