summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test.c4
-rw-r--r--test/test_12.c5
-rw-r--r--test/test_common.c4
-rw-r--r--test/vainfo.c4
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>