diff --git a/include/vsg/core/Exception.h b/include/vsg/core/Exception.h index 6e40a17cb..dea3619d3 100644 --- a/include/vsg/core/Exception.h +++ b/include/vsg/core/Exception.h @@ -12,6 +12,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI */ +#include + #include namespace vsg @@ -19,7 +21,7 @@ namespace vsg /// Exception object that can be thrown from VSG code, such as failed Vulkan calls where the result value will be the VkResult value /// returned from failed Vulkan call. - struct Exception + struct VSG_DECLSPEC Exception { std::string message; int result = 0;