summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/programopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/programopt.h')
-rw-r--r--src/mesa/program/programopt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/program/programopt.h b/src/mesa/program/programopt.h
index 5d70e57bc33..70a820ae0ea 100644
--- a/src/mesa/program/programopt.h
+++ b/src/mesa/program/programopt.h
@@ -26,13 +26,16 @@
#ifndef PROGRAMOPT_H
#define PROGRAMOPT_H 1
-#include "main/mtypes.h"
+#include "main/glheader.h"
+#include "prog_parameter.h"
#ifdef __cplusplus
extern "C" {
#endif
+struct gl_context;
+struct gl_program;
extern void
_mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog);