summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-11-16 15:51:49 +0000
committerEmil Velikov <[email protected]>2017-11-16 16:11:25 +0000
commit9e74e2d13cf1499bf1213a728eb38002dfec6782 (patch)
tree7dfd1fed536dfd51b7ff65db1e3ef86010a08cf9 /src/mesa/drivers/dri
parentf3ea07959b01815ba2c89f72fabf90e91cd09e45 (diff)
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 <[email protected]> Reviewed-by: Andres Gomez <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i915/i830_context.c1
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c1
2 files changed, 2 insertions, 0 deletions
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"