Ticket #2306: patch-disk.c

File patch-disk.c, 441 bytes (added by shadow@…, 20 years ago)

patch for disk.c for devel variant

Line 
1--- disk.c.~1.34.~      Fri Oct  1 21:30:32 2004
2+++ disk.c      Fri Oct  8 12:53:55 2004
3@@ -52,7 +52,7 @@
4 #define STATFS_T statvfs
5 #define F_NAMELEN(buf) ((buf).f_namemax)
6 
7-#elif (defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__))
8+#elif (defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__))
9 #include <sys/param.h>
10 #include <sys/mount.h>
11 #define STATFS_FN(path, buf) (statfs(path,buf))