summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2004-03-12 20:03:54 +0000
committerJon Smirl <jonsmirl@gmail.com>2004-03-12 20:03:54 +0000
commit6ddfdff659196cf4eeb0e5fed70ddd1ced0d16fc (patch)
tree22f542149d304a4b6d4c9346df61beabe23d72bf /src/mesa/drivers/dri
parentd613cca2e47b5b2b4ce6f5222fde2cf137e989ef (diff)
Adjust includes to help DRI build
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_context.h1
-rw-r--r--src/mesa/drivers/dri/gamma/gamma_context.h2
-rw-r--r--src/mesa/drivers/dri/i810/i810context.h1
-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
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_context.h2
-rw-r--r--src/mesa/drivers/dri/sis/sis_context.h2
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_context.h2
11 files changed, 19 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_context.h b/src/mesa/drivers/dri/ffb/ffb_context.h
index 58fdaf57eb..f59f4acdaa 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 6c9cf7d35f..028c0d8a0f 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 1f0e8c3847..d3dd1a16c9 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 5f63d5ca46..8c28254cbf 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 217f49eee9..3b65e7a40c 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 <keith@tungstengraphics.com>
*/
+#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 958d06ad83..83aaa27bdf 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 5de0026dcc..097fcd6cbd 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 e8c6b26c23..2d5d6825f3 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"
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.h b/src/mesa/drivers/dri/radeon/radeon_context.h
index 45b5a50418..42b768dc84 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 <inttypes.h>
#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 b6b403b515..5df5890ecc 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 42b725c8ec..61eab8f2f8 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_context.h
+++ b/src/mesa/drivers/dri/tdfx/tdfx_context.h
@@ -50,6 +50,8 @@
#include <signal.h>
#endif
+#include "drm.h"
+#include "drm_sarea.h"
#include "tdfx_glide.h"
#include "clip.h"