a reverb is a reverb is a reverb
[ardour.git] / gtk2_ardour / bundle_env_cocoa.cc
index 14e6f51d15a82c6d3ee2a36b16f0e048dceabdc4..12d7aae2d680671600020e73ae4991feebd908ad 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "bundle_env.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 #include <asl.h>
 #include <Carbon/Carbon.h>
@@ -50,6 +50,7 @@ using namespace ARDOUR;
 using namespace std;
 
 extern void set_language_preference (); // cocoacarbon.mm
+extern void no_app_nap (); // cocoacarbon.mm
 
 static void
 setup_logging(void)
@@ -81,6 +82,10 @@ setup_logging(void)
 void
 fixup_bundle_environment (int argc, char* argv[], string & localedir)
 {
+       /* do this even for non-bundle runtimes */
+
+       no_app_nap ();
+
        if (!g_getenv ("ARDOUR_BUNDLED")) {
                return;
        }