summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp')
-rw-r--r--src/glsl/pp/sl_pp_macro.h3
-rw-r--r--src/glsl/pp/sl_pp_token.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_macro.h b/src/glsl/pp/sl_pp_macro.h
index 7af11c5ece7..e3ae2fc7125 100644
--- a/src/glsl/pp/sl_pp_macro.h
+++ b/src/glsl/pp/sl_pp_macro.h
@@ -31,6 +31,9 @@
#include "sl_pp_token.h"
+struct sl_pp_context;
+struct sl_pp_process_state;
+
struct sl_pp_macro_formal_arg {
int name;
struct sl_pp_macro_formal_arg *next;
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index cece30b62dd..29c7571711e 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -29,6 +29,8 @@
#define SL_PP_TOKEN_H
+struct sl_pp_context;
+
enum sl_pp_token {
SL_PP_WHITESPACE,
SL_PP_NEWLINE,