fix include order for present.h configure test

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

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Christoph Haag
2018-03-01 15:07:00 +01:00
committed by Michel Dänzer
parent f777e909fd
commit f2915eb7a4

View File

@@ -181,8 +181,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>