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 58fdaf5..f59f4ac 100644 (file)
@@ -4,6 +4,7 @@
 #define _FFB_CONTEXT_H
 
 #include "dri_util.h"
+#include "drm.h"
 
 #include "mtypes.h"
 
index 6c9cf7d..028c0d8 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 1f0e8c3..d3dd1a1 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 5f63d5c..8c28254 100644 (file)
@@ -28,6 +28,7 @@
  */
 /* $XFree86:$ */
 
+#include <stdlib.h>
 #include "mm.h"
 #include "mgacontext.h"
 #include "mgatex.h"
index 217f49e..3b65e7a 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 958d06a..83aaa27 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 5de0026..097fcd6 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 e8c6b26..2d5d682 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 45b5a50..42b768d 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 b6b403b..5df5890 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 42b725c..61eab8f 100644 (file)
@@ -50,6 +50,8 @@
 #include <signal.h>
 #endif
 
+#include "drm.h"
+#include "drm_sarea.h"
 #include "tdfx_glide.h"
 
 #include "clip.h"