X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fplugin_selector.cc;h=7ebe778ecb689dc2a9a670bafc8c04499aa7d645;hb=3162ffb4f418d85088d53d5e0a4a5d6ce7235e04;hp=705146eccd048e03360a235164444498cbf91ba7;hpb=ca10cc82a4374a5b413c06ead6cc89c53f8881ee;p=ardour.git diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc index 705146eccd..7ebe778ecb 100644 --- a/gtk2_ardour/plugin_selector.cc +++ b/gtk2_ardour/plugin_selector.cc @@ -16,6 +16,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef WAF_BUILD +#include "gtk2ardour-config.h" +#endif #include #include @@ -333,7 +336,11 @@ PluginSelector::lv2_refiller (const std::string& filterstr) } void +#ifdef VST_SUPPORT PluginSelector::vst_refiller (const std::string& filterstr) +#else +PluginSelector::vst_refiller (const std::string&) +#endif { #ifdef VST_SUPPORT refiller (manager->vst_plugin_info(), filterstr, "VST"); @@ -341,7 +348,11 @@ PluginSelector::vst_refiller (const std::string& filterstr) } void +#ifdef HAVE_AUDIOUNITS PluginSelector::au_refiller (const std::string& filterstr) +#else +PluginSelector::au_refiller (const std::string&) +#endif { #ifdef HAVE_AUDIOUNITS refiller (manager->au_plugin_info(), filterstr, "AU");