From dc12f07a55dcc017660943ded32e87c98e77683c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Mar 2016 07:17:57 +0100 Subject: [PATCH] (mali_fbdev) Add some ifdefs --- gfx/drivers_context/mali_fbdev_ctx.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gfx/drivers_context/mali_fbdev_ctx.c b/gfx/drivers_context/mali_fbdev_ctx.c index e248fce9c4..55fb7ff3c6 100644 --- a/gfx/drivers_context/mali_fbdev_ctx.c +++ b/gfx/drivers_context/mali_fbdev_ctx.c @@ -26,8 +26,14 @@ #include "../../driver.h" #include "../../general.h" #include "../../runloop.h" + +#ifdef HAVE_EGL #include "../common/egl_common.h" +#endif + +#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) #include "../common/gl_common.h" +#endif typedef struct {