mesa/x86: missing stdio inclusions
authorMark Janes <mark.a.janes@intel.com>
Thu, 5 Mar 2015 18:14:16 +0000 (10:14 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 5 Mar 2015 18:16:25 +0000 (10:16 -0800)
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>
src/mesa/tnl/t_vertex_sse.c
src/mesa/x86/rtasm/x86sse.c

index 93128fbe6b85b775f8f15b374b3b5175d804aa8f..963432c48a91e8ffc277441bed2739d09a25d506 100644 (file)
@@ -25,6 +25,8 @@
  *    Keith Whitwell <keithw@vmware.com>
  */
 
+#include <stdio.h>
+
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/colormac.h"
index c93faba7928806ddea3ad8442c7e73a9d06c8169..c9f52a44dfbfc4b7388830800eb0d0d063641177 100644 (file)
@@ -1,6 +1,8 @@
 #ifdef USE_X86_ASM
 #if defined(__i386__) || defined(__386__)
 
+#include <stdio.h>
+
 #include "main/imports.h"
 #include "x86sse.h"