From 7efea2a05196baf61f54ddf53b1e1f53f92ea738 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
Date: Wed, 7 Dec 2011 10:23:52 -0500
Subject: [PATCH] dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
---
 libavcodec/dxva2.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h
index 53a00fff174..374ae039ac0 100644
--- a/libavcodec/dxva2.h
+++ b/libavcodec/dxva2.h
@@ -25,6 +25,7 @@
 
 #include <stdint.h>
 
+#include <d3d9.h>
 #include <dxva2api.h>
 
 #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
-- 
GitLab