Lines 9-15
Link Here
|
9 |
( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) ) |
9 |
( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) ) |
10 |
#include <sys/mount.h> |
10 |
#include <sys/mount.h> |
11 |
#define USE_STATFS 1 |
11 |
#define USE_STATFS 1 |
12 |
@@ -87,12 +87,13 @@ |
12 |
@@ -87,12 +87,14 @@ |
13 |
#define GETMNTINFO_USES_STATVFS |
13 |
#define GETMNTINFO_USES_STATVFS |
14 |
|
14 |
|
15 |
# endif |
15 |
# endif |
Lines 18-23
Link Here
|
18 |
-# else |
18 |
-# else |
19 |
- |
19 |
- |
20 |
+#if defined(__FreeBSD__) |
20 |
+#if defined(__FreeBSD__) |
|
|
21 |
+#define USE_STATFS_FOR_DEV |
21 |
+#include <sys/statvfs.h> |
22 |
+#include <sys/statvfs.h> |
22 |
+#else |
23 |
+#else |
23 |
#include <sys/vfs.h> |
24 |
#include <sys/vfs.h> |