From: Ren, Zhaohan Date: Wed, 25 Mar 2009 20:12:51 +0000 (+0800) Subject: repatch 106_libva_includedir.patch, modify #include to #include to #include --- 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 +#ifdef IN_LIBVA +#include "va.h" +#else +#include +#endif #include #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 +#include +#endif #include