1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/news/nntpbtr/files/patch-aa
Satoshi Asami 51a8267ea4 NNTP bulk transfer agent.
Submitted by:	Dmitry Kohmanyuk <dk@dog.farm.org>
1996-07-23 08:05:12 +00:00

31 lines
699 B
Plaintext

--- 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;