summaryrefslogtreecommitdiffstats
path: root/libvo/w32_common.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-02 20:09:35 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-02 20:15:45 +0200
commita6af927ea17f5c5a882902653aa95488b87ea512 (patch)
treeecad5a37e6c0ddd3a5584382aeeaa0d2511b7690 /libvo/w32_common.c
parent10e47539986deab2f0caf1fb8386043a9593796a (diff)
downloadmpv-a6af927ea17f5c5a882902653aa95488b87ea512.tar.bz2
mpv-a6af927ea17f5c5a882902653aa95488b87ea512.tar.xz
w32_common.c, vo_direct3d.c: Fix Windows compilation issues
In w32_common.c the special "old_vo_defines.h" header was included too late. vo_direct3d.c was copied from svn without fixing the type of the control() function.
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r--libvo/w32_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index fd1fe5c36b..7f25182387 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -3,6 +3,8 @@
#include <windows.h>
#include <windowsx.h>
+// To get "#define vo_ontop global_vo->opts->vo_ontop" etc
+#include "old_vo_defines.h"
#include "osdep/keycodes.h"
#include "input/input.h"
#include "input/mouse.h"
@@ -11,8 +13,6 @@
#include "aspect.h"
#include "w32_common.h"
#include "mp_fifo.h"
-// To get "#define vo_ontop global_vo->opts->vo_ontop" etc
-#include "old_vo_defines.h"
extern int enable_mouse_movements;