aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-09-30 20:48:14 -0700
committerVinson Lee <[email protected]>2013-09-30 20:49:38 -0700
commit9b388c66fc8e002f442eafc669ca31d99a807b5a (patch)
tree82e3bb530daf113d000a1a372926d5853b2d8966
parent05474ac9c494b6754612268abd206be27b68a40b (diff)
st/vdpau: Include u_surface.h for u_copy_rect.
Fix build errors. CC surface.lo surface.c: In function 'vlVdpVideoSurfaceGetBitsYCbCr': surface.c:247:10: error: implicit declaration of function 'util_copy_rect' [-Werror=implicit-function-declaration] CC output.lo output.c: In function 'vlVdpOutputSurfaceGetBitsNative': output.c:216:4: error: implicit declaration of function 'util_copy_rect' [-Werror=implicit-function-declaration] Signed-off-by: Vinson Lee <[email protected]>
-rw-r--r--src/gallium/state_trackers/vdpau/output.c1
-rw-r--r--src/gallium/state_trackers/vdpau/surface.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c
index 7266cdb8afa..dd72f6f63da 100644
--- a/src/gallium/state_trackers/vdpau/output.c
+++ b/src/gallium/state_trackers/vdpau/output.c
@@ -32,6 +32,7 @@
#include "util/u_memory.h"
#include "util/u_sampler.h"
#include "util/u_format.h"
+#include "util/u_surface.h"
#include "vl/vl_csc.h"
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c
index 8e39d68a706..e371bcaa615 100644
--- a/src/gallium/state_trackers/vdpau/surface.c
+++ b/src/gallium/state_trackers/vdpau/surface.c
@@ -33,6 +33,7 @@
#include "util/u_memory.h"
#include "util/u_debug.h"
#include "util/u_rect.h"
+#include "util/u_surface.h"
#include "vl/vl_defines.h"
#include "vdpau_private.h"