From 4393ec82817f0d819c0699c0e17baac6fcc15dde Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 16 Jun 2010 23:01:58 +0200 Subject: [PATCH] CALF: minor LMMS-specific updates Silence a compiler warning introduced by custom changes and fix a possible compile failure by including another header file in a header file that we cleared before. --- plugins/ladspa_effect/calf/src/calf/osctlnet.h | 2 ++ plugins/ladspa_effect/calf/src/giface.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/ladspa_effect/calf/src/calf/osctlnet.h b/plugins/ladspa_effect/calf/src/calf/osctlnet.h index e69de29bb..df4c9c7ab 100644 --- a/plugins/ladspa_effect/calf/src/calf/osctlnet.h +++ b/plugins/ladspa_effect/calf/src/calf/osctlnet.h @@ -0,0 +1,2 @@ +#include + diff --git a/plugins/ladspa_effect/calf/src/giface.cpp b/plugins/ladspa_effect/calf/src/giface.cpp index 481feab46..f94fa207e 100644 --- a/plugins/ladspa_effect/calf/src/giface.cpp +++ b/plugins/ladspa_effect/calf/src/giface.cpp @@ -209,10 +209,10 @@ const char *calf_plugins::load_gui_xml(const std::string &plugin_id) return strdup(calf_utils::load_file((std::string(PKGLIBDIR) + "/gui-" + plugin_id + ".xml").c_str()).c_str()); } catch(file_exception e) +#endif { return NULL; } -#endif } bool calf_plugins::check_for_message_context_ports(const parameter_properties *parameters, int count)