summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-04 19:17:57 -0700
committerBrian Paul <[email protected]>2015-03-05 06:59:42 -0700
commitdb9a088d329453bcdc770e5caf7578c1eaf67aa7 (patch)
treecccd277702e7fc4a3ff5caa89a33f165e5b1fbc7 /src
parentdb29869205ecc2d7254698daac3e9027f6c92619 (diff)
glsl: include stdio.h where needed
Acked-by: Matt Turner <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/s_expression.cpp1
-rw-r--r--src/glsl/standalone_scaffolding.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/s_expression.cpp b/src/glsl/s_expression.cpp
index 2928a4db832..7eaa491e291 100644
--- a/src/glsl/s_expression.cpp
+++ b/src/glsl/s_expression.cpp
@@ -24,6 +24,7 @@
#include <assert.h>
#include <limits>
+#include <stdio.h>
#include "s_expression.h"
s_symbol::s_symbol(const char *str, size_t n)
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp
index ad0d75bf8dc..6f5a27f85b2 100644
--- a/src/glsl/standalone_scaffolding.cpp
+++ b/src/glsl/standalone_scaffolding.cpp
@@ -30,6 +30,7 @@
#include "standalone_scaffolding.h"
#include <assert.h>
+#include <stdio.h>
#include <string.h>
#include "util/ralloc.h"