signal.h must be included in test_helpers.cc for usage of SIGABRT. --- absl/log/internal/test_helpers.cc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/absl/log/internal/test_helpers.cc b/absl/log/internal/test_helpers.cc index bfcc9679..72fff4d5 100644 --- a/absl/log/internal/test_helpers.cc +++ b/absl/log/internal/test_helpers.cc @@ -18,6 +18,10 @@ #include <zircon/syscalls.h> #endif +#ifdef __GNU__ +#include <signal.h> +#endif + #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/base/log_severity.h" -- Yuqian Yang <crup...@crupest.life>