summaryrefslogtreecommitdiffhomepage
path: root/opentrack/selected-libraries.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/selected-libraries.hpp')
-rw-r--r--opentrack/selected-libraries.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/opentrack/selected-libraries.hpp b/opentrack/selected-libraries.hpp
index 3719b109..b396b5ec 100644
--- a/opentrack/selected-libraries.hpp
+++ b/opentrack/selected-libraries.hpp
@@ -11,7 +11,14 @@
#include "opentrack/plugin-support.hpp"
#include <QFrame>
-struct SelectedLibraries {
+
+#ifdef BUILD_api
+# include "opentrack-compat/export.hpp"
+#else
+# include "opentrack-compat/import.hpp"
+#endif
+
+struct OPENTRACK_EXPORT SelectedLibraries {
using dylibptr = mem<dylib>;
mem<ITracker> pTracker;
mem<IFilter> pFilter;