[vlc-commits] Win32: include headers where needed

Jean-Baptiste Kempf git at videolan.org
Wed Sep 11 12:25:44 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 11 12:24:38 2013 +0200| [c02f09fff7c608e7ac4b4dcfbd0e12ad0d732aca] | committer: Jean-Baptiste Kempf

Win32: include headers where needed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c02f09fff7c608e7ac4b4dcfbd0e12ad0d732aca
---

 modules/video_output/msw/common.h |   13 +++++++++++++
 modules/video_output/msw/events.c |   13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/modules/video_output/msw/common.h b/modules/video_output/msw/common.h
index 8abbac9..9e4a57d 100644
--- a/modules/video_output/msw/common.h
+++ b/modules/video_output/msw/common.h
@@ -22,6 +22,19 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef MODULE_NAME_IS_directdraw
+# include <ddraw.h>
+#endif
+#ifdef MODULE_NAME_IS_direct3d
+# include <d3d9.h>
+#endif
+#ifdef MODULE_NAME_IS_glwin32
+# include "../opengl.h"
+#endif
+#ifdef MODULE_NAME_IS_direct2d
+# include <d2d1.h>
+#endif
+
 /*****************************************************************************
  * event_thread_t: event thread
  *****************************************************************************/
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index e295cde..844f86d 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -38,19 +38,6 @@
 #include <windowsx.h>                                        /* GET_X_LPARAM */
 #include <shellapi.h>                                         /* ExtractIcon */
 
-#ifdef MODULE_NAME_IS_directdraw
-# include <ddraw.h>
-#endif
-#ifdef MODULE_NAME_IS_direct3d
-# include <d3d9.h>
-#endif
-#ifdef MODULE_NAME_IS_glwin32
-# include "../opengl.h"
-#endif
-#ifdef MODULE_NAME_IS_direct2d
-# include <d2d1.h>
-#endif
-
 #include <vlc_keys.h>
 #include "common.h"
 



More information about the vlc-commits mailing list