summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 16:55:53 -0700
committerBrian Paul <[email protected]>2015-02-26 08:38:38 -0700
commit135b8c65305c05c1ea9145141bad670003270c41 (patch)
tree6eacf32d0f49ab15c6ed5e155fdf166a14d5cecf /src/mesa/main
parent6b06697b0da6940b6c709f9e66b1739e076f09d0 (diff)
mesa: include stdarg.h only where it's used
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/compiler.h1
-rw-r--r--src/mesa/main/errors.c1
-rw-r--r--src/mesa/main/imports.c3
3 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index cf31ad18778..ddbf2ea887f 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -42,7 +42,6 @@
#include <stdio.h>
#include <string.h>
#include <float.h>
-#include <stdarg.h>
#include "util/macros.h"
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
index f16b33fa378..43e8adfc1c0 100644
--- a/src/mesa/main/errors.c
+++ b/src/mesa/main/errors.c
@@ -28,6 +28,7 @@
*/
+#include <stdarg.h>
#include "errors.h"
#include "enums.h"
#include "imports.h"
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 7997b0e0c36..896b11e8233 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -42,8 +42,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-
-
+#include <stdarg.h>
#include "imports.h"
#include "context.h"
#include "mtypes.h"