[Mesa-dev] [PATCH] fix m32 build: missing stdio inclusions
Mark Janes
mark.a.janes at intel.com
Thu Mar 5 10:14:16 PST 2015
Several patches added include statements where required by the m64
build. Some files are only compiled for m32, and require similar
changes.
---
src/mesa/tnl/t_vertex_sse.c | 2 ++
src/mesa/x86/rtasm/x86sse.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/mesa/tnl/t_vertex_sse.c b/src/mesa/tnl/t_vertex_sse.c
index 93128fb..963432c 100644
--- a/src/mesa/tnl/t_vertex_sse.c
+++ b/src/mesa/tnl/t_vertex_sse.c
@@ -25,6 +25,8 @@
* Keith Whitwell <keithw at vmware.com>
*/
+#include <stdio.h>
+
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index c93faba..c9f52a4 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -1,6 +1,8 @@
#ifdef USE_X86_ASM
#if defined(__i386__) || defined(__386__)
+#include <stdio.h>
+
#include "main/imports.h"
#include "x86sse.h"
--
2.1.4
More information about the mesa-dev
mailing list