diff options
-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> |