summaryrefslogtreecommitdiff
path: root/test/vainfo
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-28 10:09:51 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-28 10:15:42 +0200
commit726898f577b9b7051f1c38f9c59a94f5e549b1bb (patch)
treea2620835fd14a33a90000b5f02fb80e826d961e4 /test/vainfo
parentdc2308269b4cfdf0d9de6fedf231c6a79c7fe562 (diff)
downloadlibva-726898f577b9b7051f1c38f9c59a94f5e549b1bb.tar.gz
tests: include "sysdeps.h" wherever necessary.
Use "sysdeps.h" header instead of "config.h" so that to include the necessary definitions for Android. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'test/vainfo')
-rw-r--r--test/vainfo/Makefile.am1
-rw-r--r--test/vainfo/vainfo.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/vainfo/Makefile.am b/test/vainfo/Makefile.am
index cd9c37b..680d099 100644
--- a/test/vainfo/Makefile.am
+++ b/test/vainfo/Makefile.am
@@ -24,6 +24,7 @@ bin_PROGRAMS = vainfo
vainfo_cflags = \
-I$(top_srcdir) \
+ -I$(top_srcdir)/va \
-I$(top_srcdir)/test/common \
-I$(top_builddir) \
-DLIBVA_VERSION_S="\"$(LIBVA_VERSION)\"" \
diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c
index 3a49cf6..1eee671 100644
--- a/test/vainfo/vainfo.c
+++ b/test/vainfo/vainfo.c
@@ -22,6 +22,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include "sysdeps.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>