git: 3e3875413128 - main - netlink: make snl(3) headers self-contained.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Dec 2022 15:53:06 UTC
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=3e3875413128ff01f43b7ae8e0ca8db8d8d5efca commit 3e3875413128ff01f43b7ae8e0ca8db8d8d5efca Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2022-12-23 15:52:33 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2022-12-23 15:52:33 +0000 netlink: make snl(3) headers self-contained. --- sys/netlink/netlink_snl.h | 4 ++++ sys/netlink/netlink_snl_route.h | 1 + 2 files changed, 5 insertions(+) diff --git a/sys/netlink/netlink_snl.h b/sys/netlink/netlink_snl.h index 4a137b4e5d08..1fafa37c6dcc 100644 --- a/sys/netlink/netlink_snl.h +++ b/sys/netlink/netlink_snl.h @@ -40,6 +40,10 @@ #include <string.h> #include <unistd.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <netlink/netlink.h> + #define _roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) diff --git a/sys/netlink/netlink_snl_route.h b/sys/netlink/netlink_snl_route.h index 4de732bf739a..34dfb00a09cd 100644 --- a/sys/netlink/netlink_snl_route.h +++ b/sys/netlink/netlink_snl_route.h @@ -28,6 +28,7 @@ #define _NETLINK_NETLINK_SNL_ROUTE_H_ #include <netlink/netlink_snl.h> +#include <netlink/netlink_route.h> #include <netinet/in.h> /*