diff --git a/contrib/csup/rsyncfile.c b/contrib/csup/rsyncfile.c index 30ccc30665f1..49741183df7d 100644 --- a/contrib/csup/rsyncfile.c +++ b/contrib/csup/rsyncfile.c @@ -34,10 +34,10 @@ #include #include #include +#include #include #include "misc.h" -#include "fattr.h" #include "rsyncfile.h" #define MINBLOCKSIZE 1024 @@ -56,7 +56,6 @@ struct rsyncfile { char *end; size_t blocksize; size_t fsize; - struct fattr *fa; int fd; char *blockptr; @@ -84,7 +83,6 @@ rsync_open(char *path, size_t blocksize, int rdonly) return (NULL); } rf->fsize = st.st_size; - rf->fa = fattr_fromstat(&st); rf->fd = open(path, rdonly ? O_RDONLY : O_RDWR); if (rf->fd < 0) {