summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Haag <haagch@frickel.club>2018-03-01 15:07:00 +0100
committerMichel Dänzer <michel.daenzer@amd.com>2018-03-01 16:32:33 +0100
commit7854ace03f12207600ec8159ef8b2c5a562c4aee (patch)
tree35d5974c7f0ec325a8b90bad76203bb3309619b8
parente3aae7a24296f640c0153d1459f3e0820485468a (diff)
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>
-rw-r--r--configure.ac4
1 files 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>