From f5b058c0d22f2cc0458c19f2c24b5d6ed233d2e3 Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Wed, 8 Jul 2009 14:46:49 +0800 Subject: [PATCH] test: Use IN_LIBVA, so that they can be built out of libva Signed-off-by: Austin Yuan --- test/test.c | 4 ++++ test/test_12.c | 5 +++++ test/test_common.c | 4 ++++ test/vainfo.c | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/test/test.c b/test/test.c index 41972c7..2e98b12 100644 --- a/test/test.c +++ b/test/test.c @@ -22,7 +22,11 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef IN_LIBVA #include +#else +#include +#endif #include "assert.h" #include diff --git a/test/test_12.c b/test/test_12.c index 9bdc1ef..3c82476 100644 --- a/test/test_12.c +++ b/test/test_12.c @@ -24,7 +24,12 @@ #define TEST_DESCRIPTION "Sample MPEG2 VLD Decoding" +#ifdef IN_LIBVA #include +#else +#include +#endif + #include "test_common.c" #include diff --git a/test/test_common.c b/test/test_common.c index 6b63748..8a6ca9f 100644 --- a/test/test_common.c +++ b/test/test_common.c @@ -22,7 +22,11 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef IN_LIBVA #include +#else +#include +#endif #include "assert.h" #include diff --git a/test/vainfo.c b/test/vainfo.c index ed05881..79ee055 100644 --- a/test/vainfo.c +++ b/test/vainfo.c @@ -22,7 +22,11 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef IN_LIBVA #include +#else +#include +#endif #include #include -- 2.7.4