i915: add missing extensions.h include
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Nov 2017 15:51:49 +0000 (15:51 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 16:11:25 +0000 (16:11 +0000)
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 <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/i915/i830_context.c
src/mesa/drivers/dri/i915/i915_context.c

index 4aa96cad0f8ffa76142c4eb08bc96c269c9142d8..ca00483067a665747e156a87f9f075fcacc8ba55 100644 (file)
@@ -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"
index e40e358281ada2602671dcec426a61bf06562a4f..05334b8dbc39783cf4ef67d872a6b85b627b7344 100644 (file)
@@ -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"