From 6c2aa7ffc5bbc55b524601ca05a23d90bb303e0e Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 7 Dec 2015 14:10:55 +1000 Subject: [PATCH] Add missing include guards in libardour header files --- libs/ardour/ardour/automation_watch.h | 4 ++++ libs/ardour/ardour/midi_automation_list_binder.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/ardour/ardour/automation_watch.h b/libs/ardour/ardour/automation_watch.h index 960e29943c..febbe10398 100644 --- a/libs/ardour/ardour/automation_watch.h +++ b/libs/ardour/ardour/automation_watch.h @@ -16,6 +16,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __ardour_automation_watch_h__ +#define __ardour_automation_watch_h__ #include #include @@ -60,3 +62,5 @@ class LIBARDOUR_API AutomationWatch : public sigc::trackable, public ARDOUR::Ses }; } + +#endif // __ardour_automation_watch_h__ diff --git a/libs/ardour/ardour/midi_automation_list_binder.h b/libs/ardour/ardour/midi_automation_list_binder.h index 241c4e7320..b5e73251e9 100644 --- a/libs/ardour/ardour/midi_automation_list_binder.h +++ b/libs/ardour/ardour/midi_automation_list_binder.h @@ -17,6 +17,9 @@ */ +#ifndef __ardour_midi_automation_list_binder_h__ +#define __ardour_midi_automation_list_binder_h__ + #include "pbd/memento_command.h" #include "evoral/Parameter.hpp" #include "ardour/session.h" @@ -41,5 +44,6 @@ private: Evoral::Parameter _parameter; }; -} +} // namespace ARDOUR +#endif // __ardour_midi_automation_list_binder_h__