summaryrefslogtreecommitdiffstats
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
commitf330ab93835c98e778dc22a50f8a018eb01d2ec3 (patch)
tree87d9fd8d4f7eebf7db32af0f33bc762264aefb21
parentdb9a088d329453bcdc770e5caf7578c1eaf67aa7 (diff)
dri/common: include stdio.h where needed
Acked-by: Matt Turner <[email protected]> Reviewed-by: José Fonseca <[email protected]>
-rw-r--r--src/mesa/drivers/dri/common/utils.c1
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c
index ccdc9714495..bb22107e9d8 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -30,6 +30,7 @@
*/
#include <string.h>
+#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c
index 6357e92c59a..2b284ccf28f 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.c
+++ b/src/mesa/drivers/dri/common/xmlconfig.c
@@ -28,6 +28,7 @@
*/
#include <stdarg.h>
+#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <expat.h>