GH-107812: extend socket's netlink support to FreeBSD (gh-107813)

This commit is contained in:
Mina Galić 2023-08-10 01:47:46 +01:00 committed by GitHub
parent 2ec16fed14
commit f50c17243a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 1 deletions

View file

@ -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