aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2024-10-31 14:53:43 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2024-11-13 19:30:58 +0000
commit3f2eb1ac2326826383e919383554d14a69a5321d (patch)
tree6d092ec593b77a69ded5f70f196a15e7d570e5d9
parent84d7ec4c657f406c6cbd29baf32c8e057b663d17 (diff)
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.
-rw-r--r--sys/net/dummymbuf.c1
1 files changed, 1 insertions, 0 deletions
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>