aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/portability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.c b/lib/portability.c
index 5c754d7d..194d844b 100644
--- a/lib/portability.c
+++ b/lib/portability.c
@@ -57,7 +57,7 @@ int clearenv(void)
#endif
// Get a linked list of mount points, with stat information.
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
// Not implemented for macOS.
// See <sys/mount.h>'s getmntinfo(3) for the BSD API.