diff options
| author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-07 13:10:39 +0000 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 10:56:36 +0000 |
| commit | 69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5 (patch) | |
| tree | 7fcf78876354316399c92316e3e6097ee9261be8 /test | |
| parent | d1cce9914fcd920b5f27eeda68cdfad31586a6f7 (diff) | |
| download | platform_external_libepoxy-69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5.tar.gz platform_external_libepoxy-69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5.tar.bz2 platform_external_libepoxy-69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5.zip | |
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.c | 1 |
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" /** |
