aboutsummaryrefslogtreecommitdiff
path: root/src/timers.cc
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-10-28 22:20:42 -0700
committerHaibo Huang <hhb@google.com>2020-10-28 22:20:42 -0700
commit846b7549b6b43c6947f53b1e94968558d5a36830 (patch)
tree2179868c66684e02b344ce1c009994e0307e8d8b /src/timers.cc
parentee19aadf35933890f9ea1d5bb361bc259a179df7 (diff)
parentdce3322a549650d18f50b5f1428a5942327ab6a5 (diff)
downloadgoogle-benchmark-846b7549b6b43c6947f53b1e94968558d5a36830.tar.gz
Upgrade google-benchmark to dce3322a549650d18f50b5f1428a5942327ab6a5
Test: make Change-Id: I07850ca99c79dd2225cb48821200a365b90e4d2c
Diffstat (limited to 'src/timers.cc')
-rw-r--r--src/timers.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timers.cc b/src/timers.cc
index 4f76edd..1d3ab9a 100644
--- a/src/timers.cc
+++ b/src/timers.cc
@@ -28,7 +28,8 @@
#include <sys/time.h>
#include <sys/types.h> // this header must be included before 'sys/sysctl.h' to avoid compilation error on FreeBSD
#include <unistd.h>
-#if defined BENCHMARK_OS_FREEBSD || defined BENCHMARK_OS_MACOSX
+#if defined BENCHMARK_OS_FREEBSD || defined BENCHMARK_OS_DRAGONFLY || \
+ defined BENCHMARK_OS_MACOSX
#include <sys/sysctl.h>
#endif
#if defined(BENCHMARK_OS_MACOSX)