[PATCH xf86-video-amdgpu] fix include order for present.h configure test

Christoph Haag haagch at frickel.club
Thu Mar 1 14:07:00 UTC 2018


xorg-server.h defines _XSERVER64 which is used in X.h to choose the
correct definition of XID

this prevents a failure in the present.h configure test that disables
DRI3 on X.Org 1.20
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ea41f41..2ddd750 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,8 +194,8 @@ AC_CHECK_HEADERS([misyncshm.h], [], [],
 AC_CHECK_HEADERS([present.h], [], [],
 		 [#include <X11/Xmd.h>
 		 #include <X11/Xproto.h>
-		 #include <X11/X.h>
-		 #include "xorg-server.h"])
+		 #include "xorg-server.h"
+		 #include <X11/X.h>])
 
 AC_CHECK_HEADERS([dri3.h], [], [],
 		 [#include <X11/Xmd.h>
-- 
2.16.2



More information about the amd-gfx mailing list