From 69c80df5ef6cbc6b43ac62590d4dfd7c19e0d1b5 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 7 Feb 2018 13:10:39 +0000 Subject: [PATCH] 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. --- test/egl_common.c | 1 + 1 file changed, 1 insertion(+) 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 #include +#include #include "egl_common.h" /**