Avoids error with defining conflicting types.
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
--
2.18.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx