fix clang compilation.
authorRobin Gareus <robin@gareus.org>
Wed, 16 Sep 2015 22:10:50 +0000 (00:10 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 16 Sep 2015 22:10:50 +0000 (00:10 +0200)
pbd/configuration_variable.h:84:6: error: call to function 'operator>>' that is neither visible in the template definition nor found by argument-dependent lookup

ardour/types.h defines  std::istream& operator>> and must be included prior to pbd/configuration_variable.h

gtk2_ardour/ui_config.h

index c869dfb420e08d4e793cc0e5cc9430e6dc85cd78..d73018e5819bbe228cbc16fdff3dcd15938a364d 100644 (file)
@@ -27,6 +27,8 @@
 #include <boost/function.hpp>
 #include <boost/bind.hpp>
 
+#include "ardour/types.h" // required for opeators used in pbd/configuration_variable.h
+
 #include "pbd/stateful.h"
 #include "pbd/xml++.h"
 #include "pbd/configuration_variable.h"