summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-12 19:54:36 -0400
committerMarek Olšák <[email protected]>2018-04-12 19:55:01 -0400
commit6d6b1b3890a24048a702c3a032ccfa29644bd580 (patch)
treee3e82f0d3f15239136d16fcd3292dae016a6b606 /src/mesa
parent43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 (diff)
Fix scons build
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/xm_buffer.c1
-rw-r--r--src/mesa/program/ir_to_mesa.h1
2 files changed, 2 insertions, 0 deletions
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;