summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/mga
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2004-03-12 20:03:54 +0000
committerJon Smirl <[email protected]>2004-03-12 20:03:54 +0000
commit6ddfdff659196cf4eeb0e5fed70ddd1ced0d16fc (patch)
tree22f542149d304a4b6d4c9346df61beabe23d72bf /src/mesa/drivers/dri/mga
parentd613cca2e47b5b2b4ce6f5222fde2cf137e989ef (diff)
Adjust includes to help DRI build
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r--src/mesa/drivers/dri/mga/mga_texstate.c1
-rw-r--r--src/mesa/drivers/dri/mga/mga_xmesa.c3
-rw-r--r--src/mesa/drivers/dri/mga/mgacontext.h3
-rw-r--r--src/mesa/drivers/dri/mga/mgaioctl.c2
-rw-r--r--src/mesa/drivers/dri/mga/mgavb.c1
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"