diff --git a/modules/mol/base/src/chain_type.hh b/modules/mol/base/src/chain_type.hh
index 513cb1d51b3c295376d4b7094844b58967091336..86c137aac61e23c8b6404e8329c339023c406491 100644
--- a/modules/mol/base/src/chain_type.hh
+++ b/modules/mol/base/src/chain_type.hh
@@ -19,6 +19,7 @@
 #ifndef OST_CHAIN_TYPE_HH
 #define OST_CHAIN_TYPE_HH
 
+#include <ost/mol/module_config.hh>
 #include <ost/base.hh>
 #include <ost/string_ref.hh>
 
@@ -56,7 +57,6 @@ ChainType DLLEXPORT_OST_MOL ChainTypeFromString(const StringRef identifier);
 ///
 /// \return The ChainType corresponding to the input, throws a
 ///         ost::Error on unknown type
-ChainType DLLEXPORT_OST_MOL ChainTypeFromString(const String& identifier);
 
 /// \brief Return the String identifier for a given type
 ///