[vlc-devel] [PATCH 1/4] qt: fix compilation

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


-----
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;
          ^~~~~~~~~~~
-----
---
 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 64c9eb7235..b562390682 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;
-- 
2.13.3



More information about the vlc-devel mailing list