Skip to content

Commit 23e1213

Browse files
authored
Fix missing include for std::exception (#178)
Fixes build on mingw: from_exception.cpp:333:23: error: 'current_exception' is not a member of 'std'
1 parent ad121db commit 23e1213

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/from_exception.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ BOOST_SYMBOL_EXPORT void assert_no_pending_traces() noexcept {
157157
#include <boost/stacktrace/safe_dump_to.hpp>
158158

159159
#include <cstddef>
160+
#include <exception>
160161
#include <dlfcn.h>
161162

162163
#if !BOOST_STACKTRACE_ALWAYS_STORE_IN_PADDING

0 commit comments

Comments
 (0)