* ftpfs.c: Add fallback to type int if socklen_t is not provided.

This commit is contained in:
Roland Illig 2004-11-02 21:53:55 +00:00
parent 42f676fd5f
commit 3c750ff024
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-11-02 Roland Illig <roland.illig@gmx.de>
* ftpfs.c: Add fallback to type int if socklen_t is not provided.
2004-11-01 Andriy Gritsenko <andrej * rep kiev ua>
* tar.c (tar_read_header): Fix pathname canonicalization.

View File

@ -93,6 +93,9 @@ What to do with this?
#define RFC_DARING 1
#define RFC_STRICT 2
#ifndef HAVE_C_TYPE_SOCKLEN_T
typedef int socklen_t;
#endif
static int ftpfs_errno;
static int code;