SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/libbind/patches/patch-include_netdb_h
Normal file
15
net/libbind/patches/patch-include_netdb_h
Normal file
|
@ -0,0 +1,15 @@
|
|||
struct needs to match the order in base. (We can't just directly use
|
||||
netdb.h from base because it is missing things that libbind wants).
|
||||
|
||||
Index: include/netdb.h
|
||||
--- include/netdb.h.orig
|
||||
+++ include/netdb.h
|
||||
@@ -182,7 +182,7 @@ struct addrinfo {
|
||||
#else
|
||||
size_t ai_addrlen; /*%< length of ai_addr */
|
||||
#endif
|
||||
-#ifdef __linux
|
||||
+#if defined(__linux) || defined(__OpenBSD__)
|
||||
struct sockaddr *ai_addr; /*%< binary address */
|
||||
char *ai_canonname; /*%< canonical name for hostname */
|
||||
#else
|
Loading…
Add table
Add a link
Reference in a new issue