git: 7b2ab18fbada - main - pf/netlink: explicitly include sys/ucred.h to provide struct ucred definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Oct 2023 17:12:11 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7b2ab18fbada2e61d0b3154b74bd0935c77ec786 commit 7b2ab18fbada2e61d0b3154b74bd0935c77ec786 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-10-23 17:01:09 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-10-23 17:11:11 +0000 pf/netlink: explicitly include sys/ucred.h to provide struct ucred definition Also remove no longer needed standalone sys/cdefs.h include. Reviewed by: kp Sponsored by: NVidia Networking --- sys/netpfil/pf/pf_nl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netpfil/pf/pf_nl.c b/sys/netpfil/pf/pf_nl.c index 53ff5d031ed6..bf3d23051c05 100644 --- a/sys/netpfil/pf/pf_nl.c +++ b/sys/netpfil/pf/pf_nl.c @@ -27,12 +27,11 @@ * */ -#include <sys/cdefs.h> - #include <sys/param.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/socket.h> +#include <sys/ucred.h> #include <net/pfvar.h>