diff --git a/common/design_block.h b/common/design_block.h
index ad3a7f00ac..98d7d9223d 100644
--- a/common/design_block.h
+++ b/common/design_block.h
@@ -26,7 +26,7 @@
 #include <nlohmann/json.hpp>
 
 
-class DESIGN_BLOCK
+class KICOMMON_API DESIGN_BLOCK
 {
 public:
     void          SetLibId( const LIB_ID& aName ) { m_lib_id = aName; }
@@ -47,6 +47,10 @@ public:
     }
     const nlohmann::ordered_map<wxString, wxString>& GetFields() const { return m_fields; }
 
+    DESIGN_BLOCK() = default;
+    ///< This is the only way to get m_fields to compile as a class member
+    DESIGN_BLOCK( DESIGN_BLOCK&& aOther ) = delete;
+
 private:
     LIB_ID m_lib_id;
     wxString m_schematicFile;  // File name and path for schematic symbol.