Skip to content

Commit

Permalink
Fix missing include for std::exception (#178)
Browse files Browse the repository at this point in the history
Fixes build on mingw: 
from_exception.cpp:333:23: error: 'current_exception' is not a member of 'std'
  • Loading branch information
jschueller committed Sep 3, 2024
1 parent ad121db commit 23e1213
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/from_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ BOOST_SYMBOL_EXPORT void assert_no_pending_traces() noexcept {
#include <boost/stacktrace/safe_dump_to.hpp>

#include <cstddef>
#include <exception>
#include <dlfcn.h>

#if !BOOST_STACKTRACE_ALWAYS_STORE_IN_PADDING
Expand Down

0 comments on commit 23e1213

Please sign in to comment.