From: Emil Velikov Date: Thu, 16 Nov 2017 15:51:49 +0000 (+0000) Subject: i915: add missing extensions.h include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e74e2d13cf1499bf1213a728eb38002dfec6782;p=mesa.git i915: add missing extensions.h include Otherwise we'll bail with due to -Werror=implicit-function-declaration. It went unnoticed since the we had a bug which did consistently set the compiler flag. Fixes: ba8a347f932 ("mesa: split extensions overrides and glGetString(GL_EXTENSIONS)") Signed-off-by: Emil Velikov Reviewed-by: Andres Gomez Reviewed-by: Marek Olšák --- diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c index 4aa96cad0f8..ca00483067a 100644 --- a/src/mesa/drivers/dri/i915/i830_context.c +++ b/src/mesa/drivers/dri/i915/i830_context.c @@ -27,6 +27,7 @@ #include "i830_context.h" #include "main/api_exec.h" +#include "main/extensions.h" #include "main/imports.h" #include "main/version.h" #include "main/vtxfmt.h" diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index e40e358281a..05334b8dbc3 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -28,6 +28,7 @@ #include "i915_context.h" #include "main/api_exec.h" #include "main/framebuffer.h" +#include "main/extensions.h" #include "main/imports.h" #include "main/macros.h" #include "main/version.h"