summaryrefslogtreecommitdiff
path: root/src/X11/va_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/X11/va_x11.h')
-rwxr-xr-xsrc/X11/va_x11.h6
1 files changed, 5 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