1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/socks5/files/patch-ap
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

19 lines
525 B
Plaintext

--- include/hide.h.orig Wed Aug 4 04:59:30 1999
+++ include/hide.h Mon Feb 21 14:41:49 2000
@@ -19,6 +19,7 @@
#ifdef HAVE_GETHOSTBYNAME2
#define gethostbyname2 HIDE(gethostbyname2)
#endif
+#define getaddrinfo HIDE(getaddrinfo)
#define gethostbyname HIDE(gethostbyname)
#define getpeername HIDE(getpeername)
#define getsockname HIDE(getsockname)
@@ -53,6 +54,7 @@
#ifdef HAVE_GETHOSTBYNAME2
#undef gethostbyname2
#endif
+#undef getaddrinfo
#undef gethostbyname
#undef getpeername
#undef getsockname