diff options
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_texstate.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_xmesa.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mgacontext.h | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mgaioctl.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mgavb.c | 1 |
5 files changed, 9 insertions, 1 deletions
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 <stdlib.h> #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 <[email protected]> */ +#include <stdlib.h> +#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 <inttypes.h> +#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 <stdlib.h> #include "mgacontext.h" #include "mgavb.h" #include "mgatris.h" |