diff --git a/MSVCardour3/Ardour3.vcproj b/MSVCardour3/Ardour3.vcproj
index 10ae1a085a..dd2eb3a522 100644
--- a/MSVCardour3/Ardour3.vcproj
+++ b/MSVCardour3/Ardour3.vcproj
@@ -63,7 +63,7 @@
/>
+
+
diff --git a/libs/ptformat/ptfformat.h b/libs/ptformat/ptfformat.h
index ff21191932..be7076dbfd 100644
--- a/libs/ptformat/ptfformat.h
+++ b/libs/ptformat/ptfformat.h
@@ -20,7 +20,9 @@
#include
#include
-class PTFFormat {
+#include "ptformat/visibility.h"
+
+class LIBPTFORMAT_API PTFFormat {
public:
PTFFormat();
~PTFFormat();