summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_version.h')
-rw-r--r--src/glsl/pp/sl_pp_version.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_version.h b/src/glsl/pp/sl_pp_version.h
index 7deee1a134..cee9f55bc6 100644
--- a/src/glsl/pp/sl_pp_version.h
+++ b/src/glsl/pp/sl_pp_version.h
@@ -28,11 +28,13 @@
#ifndef SL_PP_VERSION_H
#define SL_PP_VERSION_H
+#include "sl_pp_context.h"
#include "sl_pp_token.h"
int
-sl_pp_version(const struct sl_pp_token_info *input,
+sl_pp_version(struct sl_pp_context *context,
+ const struct sl_pp_token_info *input,
unsigned int *version,
unsigned int *tokens_eaten);