Misc fixes, mostly for FreeBSD (#1536)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run

This commit is contained in:
trapexit 2025-09-29 00:17:51 -04:00 • committed by GitHub
parent 7a9c3b7eb2
commit 46f85c0f6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 146 additions and 140 deletions

View file

@ -2,9 +2,9 @@
#include <cstdio>
#ifdef __linux__
#include <mntent.h>
#ifdef __linux__
void
fs::mounts(fs::MountVec &mounts_)
{
@ -29,9 +29,12 @@ fs::mounts(fs::MountVec &mounts_)
::endmntent(f);
}
#else
void
fs::mounts(fs::MountVec &mounts_)
{
}
#endif