summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/crossthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/crossthread.h')
-rw-r--r--libs/pbd/pbd/crossthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/crossthread.h b/libs/pbd/pbd/crossthread.h
index 13ab37d38d..d172c9c60f 100644
--- a/libs/pbd/pbd/crossthread.h
+++ b/libs/pbd/pbd/crossthread.h
@@ -26,6 +26,8 @@
#include <glibmm/main.h>
+#include "pbd/libpbd_visibility.h"
+
/** A simple abstraction of a mechanism of signalling one thread from another.
* The signaller calls ::wakeup() to tell the signalled thread to check for
* work to be done.
@@ -35,7 +37,7 @@
* in Glib main loop based situations.
*/
-class CrossThreadChannel {
+class LIBPBD_API CrossThreadChannel {
public:
/** if @a non_blocking is true, the channel will not cause blocking
* when used in an event loop based on poll/select or the glib main