1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/ftp/wget/files/patch-ak
Will Andrews 868e170ee8 Add patches to allow wget to work with INET6.
Obtained from:	NetBSD (thanks itojun!)
Approved by:	obrien
2000-07-02 21:29:54 +00:00

16 lines
441 B
Plaintext

--- src/host.h.orig Sat Jan 31 03:38:01 1998
+++ src/host.h Fri Sep 24 15:49:42 1999
@@ -25,8 +25,11 @@
/* Function declarations */
struct hostent *ngethostbyname PARAMS ((const char *));
+#ifdef INET6
+int store_hostaddress PARAMS ((struct sockaddr_storage *, const char *));
+#else
int store_hostaddress PARAMS ((unsigned char *, const char *));
-
+#endif
void clean_hosts PARAMS ((void));
char *realhost PARAMS ((const char *));