diff options
Diffstat (limited to 'usr.bin/ncftp/sys.h')
-rw-r--r-- | usr.bin/ncftp/sys.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.bin/ncftp/sys.h b/usr.bin/ncftp/sys.h index e4b6d55..b42571a 100644 --- a/usr.bin/ncftp/sys.h +++ b/usr.bin/ncftp/sys.h @@ -328,8 +328,23 @@ extern int errno; # ifdef __alpha /* DEC OSF/1 */ # define GETCWDSIZET 1 # endif +# ifndef System +# define System "DEC OSF/1" +# endif #endif +#ifdef DELL +# ifndef System +# define System "DELL SVR4 Issue 2.2" +# endif +# ifndef HAS_DOMAINNAME +# define HAS_DOMAINNAME 1 +# endif +# ifndef LINGER +# define LINGER /* SVR4/386 Streams TCP/IP bug on close */ +# endif +#endif /* DELL */ + /* -------------------------------------------------------------------- */ #ifdef _SYSV @@ -412,6 +427,20 @@ extern int errno; # define NO_CONST 1 /* avoid prototype conflict */ #endif +#ifdef __NetBSD__ +# define System "NetBSD" +# define GZCAT "/usr/bin/zcat" +# define HERROR 1 +# define TERMIOS 1 +# define HAS_GETCWD 1 +# define HAS_DOMAINNAME 1 +# define U_WAIT 1 +# define GETCWDSIZET 1 +# define NO_CONST 1 /* avoid prototype conflict */ +# include <sys/types.h> +# include <sys/param.h> +#endif + #ifdef BSD # ifndef __FreeBSD__ # ifndef SYSDIRH |