[Mesa-dev] [PATCH 03/12] glsl: include stdio.h where needed

Brian Paul brianp at vmware.com
Wed Mar 4 18:18:35 PST 2015


---
 src/glsl/s_expression.cpp           | 1 +
 src/glsl/standalone_scaffolding.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/glsl/s_expression.cpp b/src/glsl/s_expression.cpp
index 2928a4d..7eaa491 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 ad0d75b..6f5a27f 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"
 
-- 
1.9.1



More information about the mesa-dev mailing list