diff options
Diffstat (limited to 'sysutils/socket/patches/patch-ac')
-rw-r--r-- | sysutils/socket/patches/patch-ac | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/sysutils/socket/patches/patch-ac b/sysutils/socket/patches/patch-ac index 661811a098f..5fa0e86f466 100644 --- a/sysutils/socket/patches/patch-ac +++ b/sysutils/socket/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.1 1999/02/02 23:00:40 tron Exp $ +$NetBSD: patch-ac,v 1.2 1999/09/17 18:23:55 tron Exp $ ---- globals.h.orig Sun Aug 30 21:04:27 1992 -+++ globals.h Tue Feb 2 23:52:03 1999 -@@ -8,6 +8,11 @@ +--- globals.h.orig Thu Sep 16 13:52:37 1999 ++++ globals.h Thu Sep 16 12:45:24 1999 +@@ -8,6 +8,10 @@ */ #include "patchlevel.h" @@ -10,11 +10,27 @@ $NetBSD: patch-ac,v 1.1 1999/02/02 23:00:40 tron Exp $ +#if HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif -+ /* globals for socket */ -@@ -49,4 +54,7 @@ +@@ -22,9 +26,16 @@ + #define A(args) () + #endif + ++#ifndef USE_INET6 + int create_server_socket A((int port, int queue_length)) ; + int create_client_socket A((char **hostname, int port)) ; + int resolve_service A((char *name_or_number, char *protocol, char **name)) ; ++#else /* USE_INET6 */ ++int *create_server_sockets A((char **port, int queue_length)) ; ++int create_client_socket A((char **hostname, char **port)) ; ++int socket_local_name A((int socket, char **name, char **ipname, char **port)); ++int socket_remote_name A((int socket, char **name, char **ipname, char **port)); ++#endif /* USE_INET6 */ + void catchsig A((int sig)) ; + void usage A((void)) ; + int do_read_write A((int from, int to)) ; +@@ -49,4 +60,7 @@ extern int crlfflag ; extern int active_socket ; extern char *progname ; |