diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-08-04 19:05:18 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-03-09 12:51:30 +0800 |
commit | a4863caedc72b3bcd36d78ab9acd8866eb66d468 (patch) | |
tree | 986b7a0dd445d775bc4a7f19f0dd3c332df6c229 | |
parent | 03ca83b299ff751d6313a5aa636676cc4544aecd (diff) | |
download | libva-intel-driver-a4863caedc72b3bcd36d78ab9acd8866eb66d468.tar.gz libva-intel-driver-a4863caedc72b3bcd36d78ab9acd8866eb66d468.tar.bz2 libva-intel-driver-a4863caedc72b3bcd36d78ab9acd8866eb66d468.zip |
add missing include
Without this building without HAVE_VA_X11 fails with:
[...]
In file included from i965_drv_video.c:37:0:
i965_output_wayland.h:31:26: error: unknown type name 'VADriverContextP'
i965_output_wayland.h:34:31: error: unknown type name 'VADriverContextP'
i965_drv_video.c:5243:9: error: 'i965_output_wayland_init' undeclared here (not in a function)
i965_drv_video.c:5244:9: error: 'i965_output_wayland_terminate' undeclared here (not in a function)
[....]
(cherry picked from commit bf324e3440246a487997a1624ac862e3e4027f9e)
-rw-r--r-- | src/i965_output_wayland.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_output_wayland.h b/src/i965_output_wayland.h index 61ca39f..acea8d9 100644 --- a/src/i965_output_wayland.h +++ b/src/i965_output_wayland.h @@ -26,6 +26,7 @@ #define I965_OUTPUT_WAYLAND_H #include <stdbool.h> +#include <va/va_backend.h> bool i965_output_wayland_init(VADriverContextP ctx); |