summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
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
commitdb29869205ecc2d7254698daac3e9027f6c92619 (patch)
tree589bf3c2cc7d6078b04d9d922cc53f4cc3c8bc5f /src/mesa/main
parent028968a3ce317cead6aec29890308f8242d547dd (diff)
mesa: include stdio.h where needed
Instead of relying on glapi.h or some other header to provide it. Acked-by: Matt Turner <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/blit.c1
-rw-r--r--src/mesa/main/debug.c1
-rw-r--r--src/mesa/main/dlist.h2
-rw-r--r--src/mesa/main/errors.c1
-rw-r--r--src/mesa/main/execmem.c1
-rw-r--r--src/mesa/main/framebuffer.c2
-rw-r--r--src/mesa/main/imports.c1
-rw-r--r--src/mesa/main/texobj.c1
-rw-r--r--src/mesa/main/texstate.c1
-rw-r--r--src/mesa/main/varray.c1
-rw-r--r--src/mesa/main/version.c1
11 files changed, 11 insertions, 2 deletions
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index 28987232140..0694466eb75 100644
--- a/src/mesa/main/blit.c
+++ b/src/mesa/main/blit.c
@@ -28,6 +28,7 @@
*/
#include <stdbool.h>
+#include <stdio.h>
#include "context.h"
#include "enums.h"
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 45221145015..eda49374847 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -23,6 +23,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <stdio.h>
#include "mtypes.h"
#include "attrib.h"
#include "colormac.h"
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index 6189632d478..a1214674c62 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -32,7 +32,7 @@
#ifndef DLIST_H
#define DLIST_H
-
+#include <stdio.h>
#include "main/mtypes.h"
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
index 33c17308a4d..8ffbf413c39 100644
--- a/src/mesa/main/errors.c
+++ b/src/mesa/main/errors.c
@@ -29,6 +29,7 @@
#include <stdarg.h>
+#include <stdio.h>
#include "errors.h"
#include "enums.h"
#include "imports.h"
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index 7267cf85fb4..3a1338515fe 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -31,6 +31,7 @@
*/
+#include <stdio.h>
#include "imports.h"
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 5df1ecc4f07..4f7736a64d0 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -29,7 +29,7 @@
* ushorts, uints, etc.
*/
-
+#include <stdio.h>
#include "glheader.h"
#include "imports.h"
#include "blend.h"
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 752cf5a429f..a7ffe229687 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -42,6 +42,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <stdio.h>
#include <stdarg.h>
#include "c99_math.h"
#include "imports.h"
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index d5aa620e1f6..e018ab9103c 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -28,6 +28,7 @@
*/
+#include <stdio.h>
#include "bufferobj.h"
#include "colortab.h"
#include "context.h"
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 78ae7d235d6..0a7f983fb29 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -28,6 +28,7 @@
* Texture state handling.
*/
+#include <stdio.h>
#include "glheader.h"
#include "bufferobj.h"
#include "colormac.h"
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 3db9e06d37d..42e7f89b264 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -24,6 +24,7 @@
*/
+#include <stdio.h>
#include <inttypes.h> /* for PRId64 macro */
#include "glheader.h"
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 4951891cb08..8e0c3ef5b26 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -23,6 +23,7 @@
*/
+#include <stdio.h>
#include "imports.h"
#include "mtypes.h"
#include "version.h"