diff options
author | Daniel Ylitalo <daniel@ylitalo.io> | 2017-12-13T20·02+0100 |
---|---|---|
committer | Derek Mauro <761129+derekmauro@users.noreply.github.com> | 2017-12-13T20·02-0500 |
commit | 5fe41affbaab5b9ad4876a6295c78f21a86d862d (patch) | |
tree | d6cb31cf0deb80dc295e6fae0b287d482ac4a947 /absl/base/internal/sysinfo.cc | |
parent | 04edad3801ec0b1091df9157b879d8f6a50c5036 (diff) |
FreeBSD compability (#57)
Diffstat (limited to 'absl/base/internal/sysinfo.cc')
-rw-r--r-- | absl/base/internal/sysinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/sysinfo.cc b/absl/base/internal/sysinfo.cc index 00e98b662cc6..884c31262877 100644 --- a/absl/base/internal/sysinfo.cc +++ b/absl/base/internal/sysinfo.cc @@ -29,7 +29,7 @@ #include <sys/syscall.h> #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__FreeBSD__) #include <sys/sysctl.h> #endif |