diff options
author | Christoph Haag <haagch@frickel.club> | 2018-03-01 15:07:00 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2018-03-01 16:25:52 +0100 |
commit | f2915eb7a4beb6140ebec183aeac02111fc6ba77 (patch) | |
tree | 5240face79d31ef32bab60171570300ad99a5b0c /configure.ac | |
parent | f777e909fd23e063729ecb038997db445f82ef5e (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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a11ba2a4..6bf9671a 100644 --- a/configure.ac +++ b/configure.ac @@ -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> |