Skip to content

Commit 544c340

Browse files
committed
minor fixes
1 parent 0f9729c commit 544c340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/from_exception.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ BOOST_SYMBOL_EXPORT void assert_no_pending_traces() noexcept {
163163

164164
#if !BOOST_STACKTRACE_ALWAYS_STORE_IN_PADDING
165165
#include <cstdlib>
166+
#include <cstring>
166167
#include <mutex>
167168
#include <unordered_map>
168169

@@ -302,7 +303,7 @@ void __cxa_decrement_exception_refcount(void *thrown_object) throw() {
302303
"\n"
303304
"=======================================================================================\n"
304305
;
305-
write(STDERR_FILENO, warning, strlen(warning));
306+
write(STDERR_FILENO, warning, std::strlen(warning));
306307
std::abort();
307308
}
308309
#endif

0 commit comments

Comments
 (0)