ports/net/b2bua/files/patch-contrib::libcext_lgpl::netdb_r.h
2006-07-18 21:52:28 +00:00

21 lines
441 B
C

$FreeBSD$
--- contrib/libcext_lgpl/netdb_r.h
+++ contrib/libcext_lgpl/netdb_r.h
@@ -2,6 +2,7 @@
extern "C" {
#endif
+#if !defined(__FreeBSD__)
struct hostent *
gethostbyaddr_r (const char *addr, int length, int type,
struct hostent *result, char *buffer, int buflen,
@@ -15,6 +16,7 @@
struct hostent *
gethostent_r (struct hostent *result, char *buffer, int buflen,
int *h_errnop);
+#endif
#ifdef __cplusplus
}