summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRen, Zhaohan <zhaohan.ren@intel.com>2009-03-26 06:03:10 +0800
committerRen, Zhaohan <zhaohan.ren@intel.com>2009-03-26 06:03:10 +0800
commit8cb6b204ced8b98ec1061c0eba799dc9b6e8deb9 (patch)
tree302cacb78cc24eafd351c6d9c602a75ab01bc6f6
parenta02db9921e4647293850b11058f2df07ac5768f0 (diff)
Add -DIN_LIBVA
-rw-r--r--src/X11/Makefile.am2
-rwxr-xr-xsrc/va_backend.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/X11/Makefile.am b/src/X11/Makefile.am
index a89f369..7413dd7 100644
--- a/src/X11/Makefile.am
+++ b/src/X11/Makefile.am
@@ -18,7 +18,7 @@
# otherwise. Any license under such intellectual property rights must be
# express and approved by Intel in writing.
-AM_CFLAGS = -DLINUX -I$(top_srcdir)/src $(DRM_CFLAGS)
+AM_CFLAGS = -DLINUX -DIN_LIBVA -I$(top_srcdir)/src $(DRM_CFLAGS)
noinst_LTLIBRARIES = libva_X11.la
diff --git a/src/va_backend.h b/src/va_backend.h
index b47e5ad..9ab4ce1 100755
--- a/src/va_backend.h
+++ b/src/va_backend.h
@@ -34,7 +34,7 @@
#include "X11/va_x11.h"
#else
#include <va/va.h>
-#include <X11/va_x11.h>
+#include <va/va_x11.h>
#endif
#include <stdlib.h>