diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-07 13:24:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-07 15:13:28 -0400 |
commit | c7320b94af8db53b0a4b0a96e37d6e81a0d4a68c (patch) | |
tree | 4697291e8010def6460a110932e9e1c167df561f /src/mtab.c | |
parent | cf032e8775a70729c397d731a5e2e1ecb58f4877 (diff) | |
download | bfs-c7320b94af8db53b0a4b0a96e37d6e81a0d4a68c.tar.xz |
build: Add a check for getmntinfo()
Diffstat (limited to 'src/mtab.c')
-rw-r--r-- | src/mtab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,7 +15,7 @@ #if !defined(BFS_USE_MNTENT) && BFS_USE_MNTENT_H # define BFS_USE_MNTENT true -#elif !defined(BFS_USE_MNTINFO) && BSD +#elif !defined(BFS_USE_MNTINFO) && BFS_HAS_GETMNTINFO # define BFS_USE_MNTINFO true #elif !defined(BFS_USE_MNTTAB) && __SVR4 # define BFS_USE_MNTTAB true @@ -27,7 +27,6 @@ # include <stdio.h> #elif BFS_USE_MNTINFO # include <sys/mount.h> -# include <sys/ucred.h> #elif BFS_USE_MNTTAB # include <stdio.h> # include <sys/mnttab.h> |