From 6d6b1b3890a24048a702c3a032ccfa29644bd580 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 12 Apr 2018 19:54:36 -0400 Subject: Fix scons build --- src/mesa/drivers/x11/xm_buffer.c | 1 + src/mesa/program/ir_to_mesa.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 4d52169d777..97c78145858 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++ b/src/mesa/drivers/x11/xm_buffer.c @@ -31,6 +31,7 @@ #include "glxheader.h" #include "xmesaP.h" +#include "main/errors.h" #include "main/imports.h" #include "main/formats.h" #include "main/framebuffer.h" diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h index 7a4911cd74a..f5665e6316e 100644 --- a/src/mesa/program/ir_to_mesa.h +++ b/src/mesa/program/ir_to_mesa.h @@ -31,6 +31,7 @@ extern "C" { #endif struct gl_context; +struct gl_program; struct gl_shader; struct gl_shader_program; struct gl_linked_shader; -- cgit v1.2.3