diff options
Diffstat (limited to 'src/libs/module')
-rw-r--r-- | src/libs/module/Makefile.am | 1 | ||||
-rw-r--r-- | src/libs/module/module.cpp | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/module/Makefile.am b/src/libs/module/Makefile.am index 7f5865db..17e2c5fb 100644 --- a/src/libs/module/Makefile.am +++ b/src/libs/module/Makefile.am @@ -7,5 +7,6 @@ libingen_module_la_LIBADD = @RAUL_LIBS@ @GLIBMM_LIBS@ libingen_module_la_SOURCES = \ module.h \ module.cpp \ + World.hpp \ Module.hpp \ Module.cpp diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp index 25c68c67..7f1741df 100644 --- a/src/libs/module/module.cpp +++ b/src/libs/module/module.cpp @@ -18,6 +18,11 @@ #include "module.h" #include "World.hpp" +#include "../../../../config/config.h" +#ifdef HAVE_SLV2 +#include <slv2/slv2.h> +#endif + namespace Ingen { namespace Shared { @@ -40,7 +45,10 @@ get_world() void destroy_world() { +#ifdef HAVE_SLV2 slv2_world_free(world->slv2_world); +#endif + delete world; } |