diff options
author | Haibo Huang <hhb@google.com> | 2020-10-28 22:20:42 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-10-28 22:20:42 -0700 |
commit | 846b7549b6b43c6947f53b1e94968558d5a36830 (patch) | |
tree | 2179868c66684e02b344ce1c009994e0307e8d8b /src/timers.cc | |
parent | ee19aadf35933890f9ea1d5bb361bc259a179df7 (diff) | |
parent | dce3322a549650d18f50b5f1428a5942327ab6a5 (diff) | |
download | google-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.cc | 3 |
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) |