summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-02-07 13:10:39 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-02-23 10:56:36 +0000
commit69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5 (patch)
tree7fcf78876354316399c92316e3e6097ee9261be8 /test
parentd1cce9914fcd920b5f27eeda68cdfad31586a6f7 (diff)
downloadlibepoxy-69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5.tar.gz
Include Xlib.h when using Xlib API
The common EGL testing code uses XOpenDisplay(), which means we need to explicitly include the Xlib.h header file, instead of relying on something else stringing it along.
Diffstat (limited to 'test')
-rw-r--r--test/egl_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/egl_common.c b/test/egl_common.c
index d2f11a3..c407912 100644
--- a/test/egl_common.c
+++ b/test/egl_common.c
@@ -23,6 +23,7 @@
#include <err.h>
#include <epoxy/egl.h>
+#include <X11/Xlib.h>
#include "egl_common.h"
/**