summaryrefslogtreecommitdiff
path: root/net/b2bua/files/patch-contrib::libcext_lgpl::netdb_r.h
blob: 96c215960a9644c1f6afea476671de6e077bb2d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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
 }