mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:03:41 +08:00
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:
parent
37356fed44
commit
c1f97c20b5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user