Pull in missing headers for MNT_LOCAL

fstatfs was only being used on Linux because MNT_LOCAL was not defined.
Pull in sys/mount.h and sys/param.h so macOS can see MNT_LOCAL.
This commit is contained in:
ridiculousfish 2021-05-08 16:55:30 -07:00
parent 37356fed44
commit c1f97c20b5

View File

@ -22,6 +22,9 @@
#include <sys/statfs.h>
#endif
#include <sys/mount.h>
#include <sys/param.h>
// The first fd in the "high range." fds below this are allowed to be used directly by users in
// redirections, e.g. >&3
const int k_first_high_fd = 10;