summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2015-03-05 10:14:16 -0800
committerMatt Turner <mattst88@gmail.com>2015-03-05 10:16:25 -0800
commit5f9ee6a02f54864df166e5dcc7303771d4eac9b3 (patch)
tree4e01808f6d0abf4c33bc37c9ed59ddd9a9e8ce9a
parentc97e902a1a69892147e7649581951747f03afaee (diff)
mesa/x86: missing stdio inclusions
Several patches added include statements where required by the m64 build. Some files are only compiled for m32, and require similar changes. Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--src/mesa/tnl/t_vertex_sse.c2
-rw-r--r--src/mesa/x86/rtasm/x86sse.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vertex_sse.c b/src/mesa/tnl/t_vertex_sse.c
index 93128fbe6b8..963432c48a9 100644
--- a/src/mesa/tnl/t_vertex_sse.c
+++ b/src/mesa/tnl/t_vertex_sse.c
@@ -25,6 +25,8 @@
* Keith Whitwell <keithw@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 c93faba7928..c9f52a44dfb 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"