diff --git a/tests/test-display.c b/tests/test-display.c index 22f5859a47..2ab97dc961 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 c050cd2421..e90f4c0e72 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