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.
pull/4397/head
Theo Buehler 1 year ago committed by Theo Buehler
parent 518387203b
commit 7f036c5563
  1. 1
      googletest/src/gtest.cc

@ -43,6 +43,7 @@
#include <algorithm>
#include <chrono> // NOLINT
#include <cmath>
#include <csignal>
#include <cstdint>
#include <cstdlib>
#include <cstring>

Loading…
Cancel
Save