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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to