Index: content/common/gpu/media/va_stub_header.fragment |
diff --git a/content/common/gpu/media/va_stub_header.fragment b/content/common/gpu/media/va_stub_header.fragment |
index fdcf35fc21c9103300e92d92a966eb733cf213c9..91ba89274bdbe733696a2ef36fe0935873b0764d 100644 |
--- a/content/common/gpu/media/va_stub_header.fragment |
+++ b/content/common/gpu/media/va_stub_header.fragment |
@@ -5,6 +5,8 @@ extern "C" { |
#include "third_party/libva/va/drm/va_drm.h" |
#include "third_party/libva/va/va.h" |
+#if defined(USE_X11) |
#include "third_party/libva/va/va_x11.h" |
+#endif |
} |