[vlc-devel] [PATCH 2/4] skins2: os2: fix compilation

KO Myung-Hun komh78 at gmail.com
Mon Dec 31 18:25:19 CET 2018


-----
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;
             ^~
-----
---
 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
-- 
2.13.3



More information about the vlc-devel mailing list