--- /dev/null
+$NetBSD$
+
+--- gtk2_ardour/new_session_dialog.cc.orig 2010-01-27 08:58:15.000000000 +0000
++++ gtk2_ardour/new_session_dialog.cc
+@@ -582,7 +582,7 @@ NewSessionDialog::set_session_folder(con
+ */
+
+
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__NetBSD__)
+
+ char buf[PATH_MAX];
+