summaryrefslogtreecommitdiffstats
path: root/news/nntpbtr/files/patch-aa
blob: d8ef101948c0e3a4518d323c8b2256c14073fbc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- btrspc.c	1995/03/05 15:32:21	1.3
+++ btrspc.c	1996/07/02 05:26:51
@@ -98,7 +98,10 @@
 #define blkavail(fs)	((int)((fs).fd_req.bfreen))
 #define filavail(fs)	((int)((fs).fd_req.gfree))
 
-#elif defined(__bsdi__)
+#elif defined(__bsdi__) || defined(__FreeBSD__)
+#if defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
 #include <sys/mount.h>
 	typedef struct statfs	statfs_type;
 #define statfilesys		statfs
--- nntpbtr.c	1995/06/11 13:13:12	1.7
+++ nntpbtr.c	1996/07/02 06:05:51
@@ -49,11 +49,12 @@
 struct	passwd	*getpwnam();
 #endif
 
-off_t bytecount = 0;
 off_t bfdpos;
 char batchtmp[] = BATCHTMP;
 
 #endif
+
+off_t bytecount = 0;
 
 long MINfree = MINFREE;
 int MAXINfiles = MAXINFILES;
OpenPOWER on IntegriCloud