mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
GH-107812: extend socket
's netlink support to FreeBSD (gh-107813)
This commit is contained in:
parent
2ec16fed14
commit
f50c17243a
5 changed files with 23 additions and 1 deletions
|
@ -100,6 +100,8 @@ typedef int socklen_t;
|
|||
# include <asm/types.h>
|
||||
# endif
|
||||
# include <linux/netlink.h>
|
||||
#elif defined(HAVE_NETLINK_NETLINK_H)
|
||||
# include <netlink/netlink.h>
|
||||
#else
|
||||
# undef AF_NETLINK
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue