summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2017-07-20 19:48:26 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2017-07-20 19:51:19 -0700
commitd16133e3e293fe16b291114d344fbd5a61d5ed65 (patch)
tree00c1dd7808da8b4db3ad00be2c6d8bb893ba9228 /glx
parentdd0b721c977e88d7c3830cc2a672c2793bca4fa0 (diff)
glx: Only include compositeext.h if COMPOSITE is supported
Regressed-in: ea483af99a6351323afe00a0b630cd63310efdb1 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxscreens.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
index 78e0aaff9..609661274 100644
--- a/glx/glxscreens.c
+++ b/glx/glxscreens.c
@@ -43,7 +43,10 @@
#include "glxutil.h"
#include "glxext.h"
#include "protocol-versions.h"
+
+#ifdef COMPOSITE
#include "compositeext.h"
+#endif
static DevPrivateKeyRec glxScreenPrivateKeyRec;