diff --git a/include/outcome.ixx b/include/outcome.ixx index 592915b4af..53ceb68a1b 100644 --- a/include/outcome.ixx +++ b/include/outcome.ixx @@ -5,7 +5,7 @@ module; // Tell the headers we are generating the interface for the library #define GENERATING_OUTCOME_MODULE_INTERFACE -#include "outcome/config.hpp" +#include "outcome/try.hpp" export module OUTCOME_V2_CXX_MODULE_NAME; #include "outcome.hpp" diff --git a/include/outcome/trait.hpp b/include/outcome/trait.hpp index aca3ad3821..4cc1fc6dea 100644 --- a/include/outcome/trait.hpp +++ b/include/outcome/trait.hpp @@ -27,7 +27,7 @@ Distributed under the Boost Software License, Version 1.0. #include "config.hpp" -OUTCOME_V2_NAMESPACE_BEGIN +OUTCOME_V2_NAMESPACE_EXPORT_BEGIN namespace trait {