Skip to content

Commit

Permalink
Add missing include for raise(3)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
botovq committed Oct 25, 2023
1 parent 5183872 commit 7f036c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions googletest/src/gtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <algorithm>
#include <chrono> // NOLINT
#include <cmath>
#include <csignal>
#include <cstdint>
#include <cstdlib>
#include <cstring>
Expand Down

0 comments on commit 7f036c5

Please sign in to comment.