diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2009-07-08 14:46:49 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-07-08 14:46:49 +0800 |
commit | f5b058c0d22f2cc0458c19f2c24b5d6ed233d2e3 (patch) | |
tree | e1d710d8c50c619b2acb049545ea771488bf9fb8 | |
parent | fd3dcfaeebaf76165e6a8ba99de4fc2b8a16d66d (diff) | |
download | libva-f5b058c0d22f2cc0458c19f2c24b5d6ed233d2e3.tar.gz |
test: Use IN_LIBVA, so that they can be built out of libva
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r-- | test/test.c | 4 | ||||
-rw-r--r-- | test/test_12.c | 5 | ||||
-rw-r--r-- | test/test_common.c | 4 | ||||
-rw-r--r-- | test/vainfo.c | 4 |
4 files changed, 17 insertions, 0 deletions
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 <va_x11.h> +#else +#include <va/va_x11.h> +#endif #include "assert.h" #include <stdarg.h> 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 <va_x11.h> +#else +#include <va/va_x11.h> +#endif + #include "test_common.c" #include <sys/types.h> 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 <va_x11.h> +#else +#include <va/va_x11.h> +#endif #include "assert.h" #include <stdarg.h> 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 <va_x11.h> +#else +#include <va/va_x11.h> +#endif #include <stdarg.h> #include <stdio.h> |