From 9e74e2d13cf1499bf1213a728eb38002dfec6782 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 16 Nov 2017 15:51:49 +0000 Subject: [PATCH] i915: add missing extensions.h include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/mesa/drivers/dri/i915/i830_context.c | 1 + src/mesa/drivers/dri/i915/i915_context.c | 1 + 2 files changed, 2 insertions(+) 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" -- 2.30.2