From e5da085b75ff7c33a10ac2b03434d487c47340f2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Mar 2015 17:14:31 +0000 Subject: Fix compilation with -fvisibility=hidden. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5611 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/Module.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ingen/Module.hpp') diff --git a/ingen/Module.hpp b/ingen/Module.hpp index cb3d90b2..3ec0d2a7 100644 --- a/ingen/Module.hpp +++ b/ingen/Module.hpp @@ -19,6 +19,8 @@ #include +#include "ingen/ingen.h" + namespace Ingen { class World; @@ -28,7 +30,8 @@ class World; * All components of Ingen reside in one of these. * @ingroup IngenShared */ -struct Module { +class INGEN_API Module { +public: Module() : library(NULL) {} virtual ~Module() {} @@ -53,7 +56,7 @@ private: extern "C" { /** Prototype for the ingen_module_load() entry point in an ingen module. */ -Ingen::Module* ingen_module_load(); +INGEN_API Ingen::Module* ingen_module_load(); } -- cgit v1.2.1