From: Jon Smirl Date: Fri, 12 Mar 2004 20:03:54 +0000 (+0000) Subject: Adjust includes to help DRI build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ddfdff659196cf4eeb0e5fed70ddd1ced0d16fc;p=mesa.git Adjust includes to help DRI build --- diff --git a/src/mesa/drivers/dri/ffb/ffb_context.h b/src/mesa/drivers/dri/ffb/ffb_context.h index 58fdaf57eb3..f59f4acdaad 100644 --- a/src/mesa/drivers/dri/ffb/ffb_context.h +++ b/src/mesa/drivers/dri/ffb/ffb_context.h @@ -4,6 +4,7 @@ #define _FFB_CONTEXT_H #include "dri_util.h" +#include "drm.h" #include "mtypes.h" diff --git a/src/mesa/drivers/dri/gamma/gamma_context.h b/src/mesa/drivers/dri/gamma/gamma_context.h index 6c9cf7d35f0..028c0d8a0f1 100644 --- a/src/mesa/drivers/dri/gamma/gamma_context.h +++ b/src/mesa/drivers/dri/gamma/gamma_context.h @@ -28,6 +28,8 @@ #define _GAMMA_CONTEXT_H_ #include "dri_util.h" +#include "drm.h" +#include "drm_sarea.h" #include "colormac.h" #include "gamma_regs.h" #include "gamma_macros.h" diff --git a/src/mesa/drivers/dri/i810/i810context.h b/src/mesa/drivers/dri/i810/i810context.h index 1f0e8c38472..d3dd1a16c90 100644 --- a/src/mesa/drivers/dri/i810/i810context.h +++ b/src/mesa/drivers/dri/i810/i810context.h @@ -30,6 +30,7 @@ typedef struct i810_context_t i810Context; typedef struct i810_context_t *i810ContextPtr; typedef struct i810_texture_object_t *i810TextureObjectPtr; +#include "drm.h" #include "mtypes.h" #include "mm.h" diff --git a/src/mesa/drivers/dri/mga/mga_texstate.c b/src/mesa/drivers/dri/mga/mga_texstate.c index 5f63d5ca463..8c28254cbf4 100644 --- a/src/mesa/drivers/dri/mga/mga_texstate.c +++ b/src/mesa/drivers/dri/mga/mga_texstate.c @@ -28,6 +28,7 @@ */ /* $XFree86:$ */ +#include #include "mm.h" #include "mgacontext.h" #include "mgatex.h" diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index 217f49eee9f..3b65e7a40c3 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -26,6 +26,9 @@ * Keith Whitwell */ +#include +#include "drm.h" +#include "mga_drm.h" #include "mga_xmesa.h" #include "context.h" #include "matrix.h" diff --git a/src/mesa/drivers/dri/mga/mgacontext.h b/src/mesa/drivers/dri/mga/mgacontext.h index 958d06ad83d..83aaa27bdf6 100644 --- a/src/mesa/drivers/dri/mga/mgacontext.h +++ b/src/mesa/drivers/dri/mga/mgacontext.h @@ -30,10 +30,11 @@ #define MGALIB_INC #include +#include "drm.h" +#include "mga_drm.h" #include "dri_util.h" #include "mtypes.h" #include "xf86drm.h" -#include "mga_drm.h" #include "mm.h" #include "colormac.h" #include "texmem.h" diff --git a/src/mesa/drivers/dri/mga/mgaioctl.c b/src/mesa/drivers/dri/mga/mgaioctl.c index 5de0026dcc9..097fcd6cbd1 100644 --- a/src/mesa/drivers/dri/mga/mgaioctl.c +++ b/src/mesa/drivers/dri/mga/mgaioctl.c @@ -34,6 +34,8 @@ #include "swrast/swrast.h" #include "mm.h" +#include "drm.h" +#include "mga_drm.h" #include "mgacontext.h" #include "mgadd.h" #include "mgastate.h" diff --git a/src/mesa/drivers/dri/mga/mgavb.c b/src/mesa/drivers/dri/mga/mgavb.c index e8c6b26c232..2d5d6825f36 100644 --- a/src/mesa/drivers/dri/mga/mgavb.c +++ b/src/mesa/drivers/dri/mga/mgavb.c @@ -26,6 +26,7 @@ */ /* $XFree86: xc/lib/GL/mesa/src/drv/mga/mgavb.c,v 1.15 2003/03/26 20:43:49 tsi Exp $ */ +#include #include "mgacontext.h" #include "mgavb.h" #include "mgatris.h" diff --git a/src/mesa/drivers/dri/radeon/radeon_context.h b/src/mesa/drivers/dri/radeon/radeon_context.h index 45b5a504184..42b768dc846 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.h +++ b/src/mesa/drivers/dri/radeon/radeon_context.h @@ -42,6 +42,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "dri_util.h" +#include "drm.h" +#include "radeon_drm.h" #include "texmem.h" #include "macros.h" diff --git a/src/mesa/drivers/dri/sis/sis_context.h b/src/mesa/drivers/dri/sis/sis_context.h index b6b403b5153..5df5890ecc4 100644 --- a/src/mesa/drivers/dri/sis/sis_context.h +++ b/src/mesa/drivers/dri/sis/sis_context.h @@ -37,6 +37,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "context.h" #include "dri_util.h" +#include "drm.h" +#include "drm_sarea.h" #include "xmlconfig.h" #include "sis_screen.h" diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.h b/src/mesa/drivers/dri/tdfx/tdfx_context.h index 42b725c8ec2..61eab8f2f8d 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_context.h +++ b/src/mesa/drivers/dri/tdfx/tdfx_context.h @@ -50,6 +50,8 @@ #include #endif +#include "drm.h" +#include "drm_sarea.h" #include "tdfx_glide.h" #include "clip.h"