summaryrefslogtreecommitdiff
path: root/www/lynx/patches.v6/patch-at
blob: 137837326a797f687654fffe94ea64034c2c8a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-at,v 1.2 2000/01/15 22:55:48 hubertf Exp $

diff -x *.orig -urN ./WWW/Library/Implementation/tcp.h /usr/pkgsrc/www/lynx/work.unpatched/lynx2-8-2/WWW/Library/Implementation/tcp.h
--- ./WWW/Library/Implementation/tcp.h	Sat May  8 19:46:28 1999
+++ /usr/pkgsrc/www/lynx/work.unpatched/lynx2-8-2/WWW/Library/Implementation/tcp.h	Sat Jan 15 07:57:19 2000
@@ -56,7 +56,11 @@
 #define INVSOC (-1)             /* Unix invalid socket */
 		/* NB: newer libwww has something different for Windows */
 
+#ifdef INET6
+typedef struct sockaddr_storage SockA;  /* See netinet/in.h */
+#else
 typedef struct sockaddr_in SockA;  /* See netinet/in.h */
+#endif
 
 #ifndef VMS
 #include <sys/types.h>