diff options
author | Ren, Zhaohan <zhaohan.ren@intel.com> | 2009-03-26 04:12:51 +0800 |
---|---|---|
committer | Ren, Zhaohan <zhaohan.ren@intel.com> | 2009-03-26 04:12:51 +0800 |
commit | 5963c266fec4b741a4c9f3b7681419b2dad0c0ac (patch) | |
tree | 975b86b2396e6a2eae8a674c95cafbefab44c4d3 | |
parent | 33fb443a1e9431e39fc04df6849e63882660b266 (diff) |
repatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11/va_x11.h>
-rwxr-xr-x | src/X11/va_x11.h | 6 | ||||
-rwxr-xr-x | src/va_backend.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/X11/va_x11.h b/src/X11/va_x11.h index e704de2..2171ac6 100755 --- a/src/X11/va_x11.h +++ b/src/X11/va_x11.h @@ -1,7 +1,11 @@ #ifndef _VA_X11_H_ #define _VA_X11_H_ -#include <va.h> +#ifdef IN_LIBVA +#include "va.h" +#else +#include <va/va.h> +#endif #include <X11/Xlib.h> #ifdef __cplusplus diff --git a/src/va_backend.h b/src/va_backend.h index 7f1f6a2..b47e5ad 100755 --- a/src/va_backend.h +++ b/src/va_backend.h @@ -29,8 +29,13 @@ #ifndef _VA_BACKEND_H_ #define _VA_BACKEND_H_ +#ifdef IN_LIBVA #include "va.h" #include "X11/va_x11.h" +#else +#include <va/va.h> +#include <X11/va_x11.h> +#endif #include <stdlib.h> |