SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
net/bro/patches/patch-src_net_util_h
Normal file
21
net/bro/patches/patch-src_net_util_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/usr/local/include/bind/arpa/inet.h:95:17: warning: '__inet_makeaddr' has C-linkage specified, but returns incomplete type 'struct in_addr' which could be incompatible with C [-Wreturn-type-c-linkage]
|
||||
struct in_addr inet_makeaddr __P((u_long , u_long));
|
||||
^
|
||||
/usr/local/include/bind/arpa/inet.h:77:24: note: expanded from macro 'inet_makeaddr'
|
||||
#define inet_makeaddr __inet_makeaddr
|
||||
^
|
||||
|
||||
Index: src/net_util.h
|
||||
--- src/net_util.h.orig
|
||||
+++ src/net_util.h
|
||||
@@ -26,9 +26,9 @@ enum IPFamily
|
||||
// breaks FreeBSD builds.
|
||||
// clang-format off
|
||||
#include <sys/types.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <cassert>
|
||||
-#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/ip.h>
|
||||
// clang-format on
|
Loading…
Add table
Add a link
Reference in a new issue