[vlc-commits] qt: fix compilation

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


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

qt: fix compilation

-----
In file included from gui/qt/menus.cpp:40:0:
gui/qt/main_interface.hpp: At global scope:
gui/qt/main_interface.hpp:75:10: error: 'atomic_flag' in namespace 'std' does not name a type
     std::atomic_flag videoActive;
          ^~~~~~~~~~~
-----

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

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

 modules/gui/qt/main_interface.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/main_interface.hpp b/modules/gui/qt/main_interface.hpp
index 5f4cd339d8..9f12de90ca 100644
--- a/modules/gui/qt/main_interface.hpp
+++ b/modules/gui/qt/main_interface.hpp
@@ -36,6 +36,8 @@
 # include <shobjidl.h>
 #endif
 
+#include <atomic>
+
 class QSettings;
 class QCloseEvent;
 class QKeyEvent;



More information about the vlc-commits mailing list