diff options
author | Ed Maste <emaste@freebsd.org> | 2019-01-08 13:48:29 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-08 18:38:04 -0600 |
commit | 3a3860a05a98964a4348fc112a2d9d90f9ce67d3 (patch) | |
tree | 9ad1eb87950e322e8938155b097e44814dc3a885 | |
parent | 9aebc5f1a73e929897a1d6206b8923bf1ab949bb (diff) | |
download | toybox-3a3860a05a98964a4348fc112a2d9d90f9ce67d3.tar.gz |
FreeBSD will use the getmntinfo API as with Apple
-rw-r--r-- | lib/portability.c | 2 |
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. |