From 157ce777277e053a4beaca09d2e0ddc7a46801a2 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Thu, 2 Jul 2015 12:29:32 +0300 Subject: [PATCH] tests: Fix compilation while enabling egl as the only renderer in build Include missing header files gstvaapidisplay_egl.h and gstvaapiwindow_egl.h. --- tests/test-display.c | 3 +++ tests/test-windows.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/tests/test-display.c b/tests/test-display.c index 22f5859..2ab97dc 100644 --- a/tests/test-display.c +++ b/tests/test-display.c @@ -42,6 +42,9 @@ #if USE_WAYLAND # include #endif +#if USE_EGL +# include +#endif #ifdef HAVE_VA_VA_GLX_H # include diff --git a/tests/test-windows.c b/tests/test-windows.c index c050cd2..e90f4c0 100644 --- a/tests/test-windows.c +++ b/tests/test-windows.c @@ -37,6 +37,10 @@ # include # include #endif +#if USE_EGL +# include +# include +#endif #include "image.h" static inline void -- 2.7.4