From 3a3860a05a98964a4348fc112a2d9d90f9ce67d3 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 8 Jan 2019 13:48:29 -0500 Subject: FreeBSD will use the getmntinfo API as with Apple --- lib/portability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/portability.c') 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 's getmntinfo(3) for the BSD API. -- cgit v1.2.3