Date: Wed, 13 Nov 2024 19:29:33 GMT From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3f2eb1ac2326 - main - dummymbuf: Explicitly include if_private.h Message-ID: <202411131929.4ADJTXOU033385@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=3f2eb1ac2326826383e919383554d14a69a5321d commit 3f2eb1ac2326826383e919383554d14a69a5321d Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2024-10-31 14:53:43 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2024-11-13 19:30:58 +0000 dummymbuf: Explicitly include if_private.h struct ifnet is expected to be private for everything outside of the network stack (sys/net*, except netlink. Since dummymbuf is part of the network stack, explicitly include the header to get access to the private members. Sponsored by: Juniper Networks, Inc. --- sys/net/dummymbuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/dummymbuf.c b/sys/net/dummymbuf.c index f7aef562c8d2..d73566759ed3 100644 --- a/sys/net/dummymbuf.c +++ b/sys/net/dummymbuf.c @@ -37,6 +37,7 @@ #include <net/if.h> #include <net/if_var.h> +#include <net/if_private.h> #include <net/vnet.h> #include <net/pfil.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411131929.4ADJTXOU033385>