From: Brian Paul Date: Fri, 13 Mar 2015 19:12:12 +0000 (-0600) Subject: mapi: move some #includes from .h file to .c files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fbbd60c1da4467683d93540c64164ad337ce454;p=mesa.git mapi: move some #includes from .h file to .c files Just include things where they're needed. Reviewed-by: Jose Fonseca --- diff --git a/src/mapi/glapi/glapi_getproc.c b/src/mapi/glapi/glapi_getproc.c index bfde92cf227..524a771ca43 100644 --- a/src/mapi/glapi/glapi_getproc.c +++ b/src/mapi/glapi/glapi_getproc.c @@ -30,6 +30,9 @@ */ +#include +#include +#include #include "glapi/glapi_priv.h" #include "glapi/glapitable.h" @@ -37,6 +40,7 @@ #define FIRST_DYNAMIC_OFFSET (sizeof(struct _glapi_table) / sizeof(void *)) + /********************************************************************** * Static function management. */ diff --git a/src/mapi/glapi/glapi_nop.c b/src/mapi/glapi/glapi_nop.c index 0041ed5a876..13db310b303 100644 --- a/src/mapi/glapi/glapi_nop.c +++ b/src/mapi/glapi/glapi_nop.c @@ -44,6 +44,7 @@ */ +#include #include #include "glapi/glapi_priv.h" diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h index d3682603d6f..50f710edc8a 100644 --- a/src/mapi/glapi/glapi_priv.h +++ b/src/mapi/glapi/glapi_priv.h @@ -26,9 +26,6 @@ #ifndef _GLAPI_PRIV_H #define _GLAPI_PRIV_H -#include -#include -#include #ifdef HAVE_DIX_CONFIG_H #include