summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>