# | Line 37 | Line 37 | |
---|---|---|
37 | #include <sys/mnttab.h> | |
38 | #include <sys/statvfs.h> | |
39 | #include <kstat.h> | |
40 | < | #define VALID_FS_TYPES {"ufs", "tmpfs"} |
40 | > | #define VALID_FS_TYPES {"ufs", "tmpfs", "vxfs"} |
41 | #endif | |
42 | ||
43 | #if defined(LINUX) || defined(CYGWIN) | |
# | Line 122 | Line 122 | sg_fs_stats *sg_get_fs_stats(int *entries){ | |
122 | #endif | |
123 | #ifdef ALLBSD | |
124 | int nummnt; | |
125 | + | #ifdef HAVE_STATVFS |
126 | + | struct statvfs *mp; |
127 | + | #else |
128 | struct statfs *mp; | |
129 | + | #endif |
130 | #endif | |
131 | ||
132 | #ifdef ALLBSD |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |