Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix libfetch building on linux
Baptiste Daroussin committed 9 years ago
commit 57cfe4da8ccdbd308186b90f309dd407d5504ee3
parent 40ae2d0
1 file changed +3 -3
modified external/libfetch/ftp.c
@@ -488,7 +488,7 @@ struct ftpio {

static int	 ftp_readfn(void *, char *, int);
static int	 ftp_writefn(void *, const char *, int);
-
static fpos_t	 ftp_seekfn(void *, fpos_t, int);
+
static off_t	 ftp_seekfn(void *, off_t, int);
static int	 ftp_closefn(void *);

static int
@@ -551,8 +551,8 @@ ftp_writefn(void *v, const char *buf, int len)
	return (-1);
}

-
static fpos_t
-
ftp_seekfn(void *v, fpos_t pos __unused, int whence __unused)
+
static off_t
+
ftp_seekfn(void *v, off_t pos __unused, int whence __unused)
{
	struct ftpio *io;