From 5f0ab9b1c793bc0c3188a0535131aa6ccf858a68 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 11 Jun 2002 21:38:59 +0000 Subject: 2002-06-08 Roland McGrath * ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]: Use struct stat64 in place of struct stat. --- libftpconn/ftpconn.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libftpconn') diff --git a/libftpconn/ftpconn.h b/libftpconn/ftpconn.h index 67222de0..e445130e 100644 --- a/libftpconn/ftpconn.h +++ b/libftpconn/ftpconn.h @@ -1,6 +1,6 @@ /* Manage an ftp connection - Copyright (C) 1997,2001 Free Software Foundation, Inc. + Copyright (C) 1997,2001,02 Free Software Foundation, Inc. Written by Miles Bader @@ -49,7 +49,11 @@ struct ftp_conn_stat; symlink. NAME and SYMLINK_TARGET should be copied if they are used outside of this function. HOOK is as passed into ...get_stats. */ typedef error_t (*ftp_conn_add_stat_fun_t) (const char *name, +# if _FILE_OFFSET_BITS == 64 const struct stat *stat, +# else + const struct stat64 *stat, +# endif const char *symlink_target, void *hook); -- cgit v1.2.3