diff mbox series

[1/1] include xorg-server.h first for _XSERVER64

Message ID 20180914043637.GA393@SDF.ORG (mailing list archive)
State New, archived
Headers show
Series [1/1] include xorg-server.h first for _XSERVER64 | expand

Commit Message

Maya Rashish Sept. 14, 2018, 4:36 a.m. UTC
Avoids error with defining conflicting types.
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index ee588815..fc76e955 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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