fix a compile of annoying compiler warnings with elcap clang
[ardour.git] / gtk2_ardour / selection_memento.cc
index c190d7e6aea9988c10cbaf021ab793f67bdacdd2..f122de3a9b8732b0333c158bef024acab0810841 100644 (file)
 
 */
 
+#include "ardour/lmath.h"
 #include "selection_memento.h"
 #include "editing.h"
 #include "public_editor.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 SelectionMemento::SelectionMemento ()
 {
@@ -53,7 +54,7 @@ SelectionMemento::get_state () {
 int
 SelectionMemento::set_state (const XMLNode& node, int /*version*/) {
 
-       const XMLProperty* prop;
+       XMLProperty const * prop;
        PublicEditor& editor = PublicEditor::instance();
        if (node.name() != X_("SelectionMemento")) {
                return -1;