gallium: fix more missing includes from various places
authorDave Airlie <airlied@redhat.com>
Thu, 4 Feb 2010 00:52:43 +0000 (10:52 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Feb 2010 00:52:43 +0000 (10:52 +1000)
nouveau/ dri st / vmware

src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nv04/nv04_context.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/dri/dri_screen.c
src/gallium/state_trackers/xorg/xorg_tracker.h
src/gallium/winsys/drm/vmware/core/vmw_buffer.h
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/gallium/winsys/drm/vmware/core/vmw_surface.h

index 1ad539d28582e7786eedbfa2e2d349d5ea0e2aab..156cb2d229b8cacddd3748e55d0d988695e3fcad 100644 (file)
@@ -3,7 +3,9 @@
 #include <pipe/p_state.h>
 
 #include <util/u_memory.h>
+#include <util/u_inlines.h>
 
+#include <stdio.h>
 #include <errno.h>
 
 #include "nouveau/nouveau_bo.h"
index 1810dde94fd371281a69a374e6ddd90243c47244..83acb5918789d45787c45f219d439ff95de0486f 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "util/u_memory.h"
 #include "util/u_math.h"
+#include "util/u_inlines.h"
 
 #include "draw/draw_vertex.h"
 
index 1f456cb8297678cd4fde74251f2585b84f7f625f..f7ed6605bf8c2308ec58d35c43ae0f7df1e3c854 100644 (file)
@@ -46,6 +46,7 @@
 #include "util/u_format.h"
 #include "util/u_memory.h"
 #include "util/u_rect.h"
+#include "util/u_inlines.h"
  
 static struct pipe_surface *
 dri_surface_from_handle(struct drm_api *api,
index 34dbe5b7e53c2a869f87e1bc2a5fb3bb5a7abd42..2052867309c89703aac4ed5f3d7ceafabf39d1d9 100644 (file)
@@ -42,6 +42,8 @@
 #include "state_tracker/drm_api.h"
 #include "state_tracker/dri1_api.h"
 
+#include "util/u_debug.h"
+
 PUBLIC const char __driConfigOptions[] =
    DRI_CONF_BEGIN DRI_CONF_SECTION_PERFORMANCE
    DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS)
index a88b1d520dce3e586736fde2a4de24da8e7b95cd..58bb60a721d56cefd5a38d72c27d50e3cdb46e9f 100644 (file)
@@ -47,6 +47,8 @@
 #endif
 
 #include "pipe/p_screen.h"
+#include "util/u_inlines.h"
+#include "util/u_debug.h"
 #include "state_tracker/drm_api.h"
 
 #define DRV_ERROR(msg) xf86DrvMsg(pScrn->scrnIndex, X_ERROR, msg);
index 634bdcabd26e348f8a27aa0e4a391f18657c9a4f..41fb4476da52bbd8f22ca9d2a55167acfc29db8c 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef VMW_BUFFER_H_
 #define VMW_BUFFER_H_
 
-
+#include <assert.h>
 #include "pipe/p_compiler.h"
 
 struct SVGAGuestPtr;
index 454e9a5236d5bc52ae2810f1056b6c2e8901779d..2939c10918c1cbc75af2b57f0b9bbc0066ef6054 100644 (file)
@@ -27,6 +27,7 @@
 #include "pipe/p_compiler.h"
 #include "util/u_inlines.h"
 #include "util/u_memory.h"
+#include "util/u_format.h"
 #include "vmw_screen.h"
 
 #include "trace/tr_drm.h"
index b843c4dc7d4349220f0d21f7ffc2ccfac596629c..3d61595c28879bc908b7c4c2875a6848283b7361 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "pipe/p_compiler.h"
 #include "util/u_atomic.h"
-#include "util/u_atomic.h"
+#include "util/u_inlines.h"
 
 #define VMW_MAX_PRESENTS 3