From d9916dc4ddb43782dcea4f04fef544b98aafe2ff Mon Sep 17 00:00:00 2001 From: xy0 Date: Thu, 14 Apr 2022 11:19:35 +0800 Subject: [PATCH] unity:add header file for ob_signal_processor.cpp --- deps/oblib/src/lib/signal/ob_signal_processor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/oblib/src/lib/signal/ob_signal_processor.cpp b/deps/oblib/src/lib/signal/ob_signal_processor.cpp index faf13fef2e..26431e0a8d 100644 --- a/deps/oblib/src/lib/signal/ob_signal_processor.cpp +++ b/deps/oblib/src/lib/signal/ob_signal_processor.cpp @@ -20,12 +20,13 @@ #include #include "lib/utility/ob_macro_utils.h" #include "lib/signal/ob_signal_utils.h" +#include "lib/signal/ob_libunwind.h" namespace oceanbase { namespace common { ObSigBTOnlyProcessor::ObSigBTOnlyProcessor() : fd_(-1), pos_(-1) { - char* buf = filename_; + char *buf = filename_; int64_t len = sizeof(filename_); int64_t pos = safe_snprintf(buf, len, "stack.%d.", getpid()); int64_t count = 0; -- GitLab