diff options
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index b83f39fbc8..13ff108135 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -17,6 +17,12 @@ */ +#ifdef __APPLE__ +#define Rect AppleHasItsOwnRect +#include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h> +#undef Rect +#endif /* __APPLE__ */ + #include <libgnomecanvasmm/init.h> #include <libgnomecanvasmm/pixbuf.h> #include <jack/types.h> |