st/vdpau: Include u_surface.h for u_copy_rect.
authorVinson Lee <vlee@freedesktop.org>
Tue, 1 Oct 2013 03:48:14 +0000 (20:48 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 1 Oct 2013 03:49:38 +0000 (20:49 -0700)
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 <vlee@freedesktop.org>
src/gallium/state_trackers/vdpau/output.c
src/gallium/state_trackers/vdpau/surface.c

index 7266cdb8afadcc7c9312a2fd3450bafc51eb1866..dd72f6f63da32673337d5384d2d0c93772c7698e 100644 (file)
@@ -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"
 
index 8e39d68a70642b7d01216eee765d4be0657841a2..e371bcaa6153a0966b86c251af15df732f2a56e1 100644 (file)
@@ -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"