summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/utils.h')
-rw-r--r--libs/ardour/ardour/utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h
index eccfc33d25..17ca139fb1 100644
--- a/libs/ardour/ardour/utils.h
+++ b/libs/ardour/ardour/utils.h
@@ -28,6 +28,11 @@
#include <CoreFoundation/CoreFoundation.h>
#endif
+/* this needs to come before ardour.h, since it may include
+ headers that use this function.
+*/
+bool string_is_affirmative (const std::string& str);
+
#include "ardour.h"
class XMLNode;
@@ -37,7 +42,6 @@ Glib::ustring legalize_for_path (Glib::ustring);
void elapsed_time_to_str (char *buf, uint32_t seconds);
std::ostream& operator<< (std::ostream& o, const ARDOUR::BBT_Time& bbt);
XMLNode* find_named_node (const XMLNode& node, std::string name);
-bool string_is_affirmative (const std::string& str);
static inline float f_max(float x, float a) {
x -= a;