1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/socks5/files/patch-ar
Yoshinobu Inoue e53d640ca4 Add getaddrinfo() wrapper function support.
Tested and confirmed by: Robert Muir <rmuir@looksharp.net>,
	Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>,
	Masahide -mac- NODA <mac@clave.gr.jp>

Approved by: jkh

Reviewed by: imp
2000-02-24 06:37:27 +00:00

13 lines
536 B
Plaintext

--- include/system.h.orig Wed Aug 4 04:59:30 1999
+++ include/system.h Mon Feb 21 14:43:42 2000
@@ -24,6 +24,9 @@
#ifdef HAVE_GETHOSTBYNAME2
struct hostent * REAL(gethostbyname2) P((const char *, int));
#endif
+int REAL(getaddrinfo) P((const char *, const char *,
+ const struct addrinfo *,
+ struct addrinfo **));
struct hostent * REAL(gethostbyname) P((const char *));
struct hostent * REAL(gethostbyaddr) P((const void *, int, int));
struct servent * REAL(getservbyname) P((const char *, const char *));