From 135b8c65305c05c1ea9145141bad670003270c41 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 24 Feb 2015 16:55:53 -0700 Subject: [PATCH] mesa: include stdarg.h only where it's used Reviewed-by: Matt Turner Reviewed-by: Jose Fonseca --- src/mesa/drivers/dri/common/xmlconfig.c | 1 + src/mesa/main/compiler.h | 1 - src/mesa/main/errors.c | 1 + src/mesa/main/imports.c | 3 +-- src/mesa/program/program_parse.y | 2 ++ 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index d69eb0196d3..518b4da994c 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -27,6 +27,7 @@ * \author Felix Kuehling */ +#include #include #include #include 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 #include #include -#include #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 #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 #include "imports.h" #include "context.h" #include "mtypes.h" diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y index 268ce05edee..716b83d2d07 100644 --- a/src/mesa/program/program_parse.y +++ b/src/mesa/program/program_parse.y @@ -21,6 +21,8 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ + +#include #include #include #include -- 2.30.2