diff --git a/vfs/ChangeLog b/vfs/ChangeLog index ee061bb8d..bcfa99cfd 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,9 @@ +2002-12-05 Pavel Roskin + + * ftpfs.c: Define INADDR_NONE if it's not already defined. + Needed for Solaris 9. + Reported by Roman Dorokhin + 2002-12-03 Andrew V. Samoilov * extfs.c (open_archive): Don't use open_error_pipe() and diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c index be695211e..2d80443ec 100644 --- a/vfs/ftpfs.c +++ b/vfs/ftpfs.c @@ -85,6 +85,11 @@ What to do with this? #define SUP super->u.ftp #define FH_SOCK fh->u.ftp.sock +#ifndef INADDR_NONE +#define INADDR_NONE 0xffffffff +#endif + + static int my_errno; static int code;