[vlc-commits] skins2: os2: fix compilation

KO Myung-Hun git at videolan.org
Wed Jan 2 10:16:09 CET 2019


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Jan  1 02:25:19 2019 +0900| [8b677cf84e711259acb1b6fc173a6b12b4e98a7c] | committer: Rémi Denis-Courmont

skins2: os2: fix compilation

-----
In file included from gui/skins2/os2/os2_factory.cpp:39:0:
gui/skins2/os2/os2_window.hpp: In member function 'virtual void OS2Window::setOSHandle(vout_window_t*) const':
gui/skins2/os2/os2_window.hpp:65:13: error: invalid use of incomplete type 'struct vout_window_t'
         pWnd->type = VOUT_WINDOW_TYPE_HWND;
             ^~
-----

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/gui/skins2/os2/os2_window.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/skins2/os2/os2_window.hpp b/modules/gui/skins2/os2/os2_window.hpp
index 7f26847aa1..fc82465ad2 100644
--- a/modules/gui/skins2/os2/os2_window.hpp
+++ b/modules/gui/skins2/os2/os2_window.hpp
@@ -28,6 +28,8 @@
 #include "../src/generic_window.hpp"
 #include "../src/os_window.hpp"
 
+#include <vlc_vout_window.h>
+
 
 /// OS2 implementation of OSWindow
 class OS2Window: public OSWindow



More information about the vlc-commits mailing list