summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-12-24 04:55:56 +0100
committerRobin Gareus <robin@gareus.org>2014-12-24 05:00:39 +0100
commit0b471df0c3883bb04103f006192652e6d6eb6807 (patch)
tree1888b5ca48d1b196600d69b12d95bfe5d6821b7b /gtk2_ardour
parent8f0f88915277460c292d87103647c29bc01dfcb5 (diff)
fix clang compilation
error: call to function 'operator>>' that is neither visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site. IOW. types.h must be included before using ‘ss >> (T) value’ in template in pbd/configuration.h
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/option_editor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index 7ff5bc5adb..9fb367dfc9 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -22,6 +22,7 @@
#include <gtkmm/alignment.h>
#include "gtkmm2ext/utils.h"
+#include "ardour/types.h"
#include "pbd/configuration.h"
#include "ardour/rc_configuration.h"