From 7f036c5563af7d0329f20e8bb42effb04629f0c0 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 25 Oct 2023 07:17:52 +0200 Subject: [PATCH] Add missing include for raise(3) If SIGTRAP is defined, this file may end up using raise(3), which is defined in csignal, leading to a compilation failure on at least OpenBSD/sparc64 with gcc 8. --- googletest/src/gtest.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 99b22ed3..dcf4e269 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -43,6 +43,7 @@ #include #include // NOLINT #include +#include #include #include #include