Adjust includes to help DRI build
authorJon Smirl <jonsmirl@gmail.com>
Fri, 12 Mar 2004 20:03:54 +0000 (20:03 +0000)
committerJon Smirl <jonsmirl@gmail.com>
Fri, 12 Mar 2004 20:03:54 +0000 (20:03 +0000)
src/mesa/drivers/dri/ffb/ffb_context.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/mga/mga_texstate.c
src/mesa/drivers/dri/mga/mga_xmesa.c
src/mesa/drivers/dri/mga/mgacontext.h
src/mesa/drivers/dri/mga/mgaioctl.c
src/mesa/drivers/dri/mga/mgavb.c
src/mesa/drivers/dri/radeon/radeon_context.h
src/mesa/drivers/dri/sis/sis_context.h
src/mesa/drivers/dri/tdfx/tdfx_context.h

index 58fdaf57eb338f29bd14f006679695426cab463f..f59f4acdaad10e960aa68a798bad8db835bda089 100644 (file)
@@ -4,6 +4,7 @@
 #define _FFB_CONTEXT_H
 
 #include "dri_util.h"
+#include "drm.h"
 
 #include "mtypes.h"
 
index 6c9cf7d35f0aeedfbf20b4ee57527e018b6c357b..028c0d8a0f1e7e56fce590ca1a3e471e0b395ccc 100644 (file)
@@ -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"
index 1f0e8c384729ce8e98e9267dc5d10f763cdd9ce9..d3dd1a16c904f4967bb7bc23e0cee153feb56716 100644 (file)
@@ -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"
 
index 5f63d5ca4635008375fe6dfa5d73bd06499170aa..8c28254cbf43671d38046ab6e8115c5b23706508 100644 (file)
@@ -28,6 +28,7 @@
  */
 /* $XFree86:$ */
 
+#include <stdlib.h>
 #include "mm.h"
 #include "mgacontext.h"
 #include "mgatex.h"
index 217f49eee9fbc556453cb5f3fb0b1af46ab2479a..3b65e7a40c35a1266799efb899da17da48072b8b 100644 (file)
@@ -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"
index 958d06ad83dab205aea2b380c460c2117c7d45c5..83aaa27bdf68c00997fbd69f8de60cc1421b062f 100644 (file)
 #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"
index 5de0026dcc9eb296797648c195efe1f521195ef9..097fcd6cbd1196a37bf8324f1fbd978d513a0d96 100644 (file)
@@ -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"
index e8c6b26c232c4d8077b903235b5e91cabb97f63f..2d5d6825f36988fd6706f0b5a896215c5a21fa19 100644 (file)
@@ -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"
index 45b5a50418499ee5015cec720c04329c81fa7448..42b768dc846f4ec203be242e0764dde2f6525da3 100644 (file)
@@ -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"
index b6b403b51534799f07aed5dc5334bf157e1feefe..5df5890ecc4561cc8423bd7044c5d8b275ccc10f 100644 (file)
@@ -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"
index 42b725c8ec2b7bfb486de7b5a200d43ca3854424..61eab8f2f8d112d6555c68031d71b6d120968e13 100644 (file)
@@ -50,6 +50,8 @@
 #include <signal.h>
 #endif
 
+#include "drm.h"
+#include "drm_sarea.h"
 #include "tdfx_glide.h"
 
 #include "clip.h"