diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-23 15:05:29 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-31 20:02:16 +0000 |
| commit | 3d0d5b21c9b2cfd7e48209340a090f63ca4bce03 (patch) | |
| tree | a5debcaa7044f86ca30eb3307bf4b31c915d0704 /sys/netinet6/ip6_forward.c | |
| parent | 30af2c131bb05528f9b14518a7ed3e98c590b55e (diff) | |
IfAPI: Explicitly include <net/if_private.h> in netstack
Summary:
In preparation of making if_t completely opaque outside of the netstack,
explicitly include the header. <net/if_var.h> will stop including the
header in the future.
Sponsored by: Juniper Networks, Inc.
Reviewed by: glebius, melifaro
Differential Revision: https://reviews.freebsd.org/D38200
Diffstat (limited to 'sys/netinet6/ip6_forward.c')
| -rw-r--r-- | sys/netinet6/ip6_forward.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c index 39c93ac35427..a95e58ba09a1 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_var.h> +#include <net/if_private.h> #include <net/netisr.h> #include <net/route.h> #include <net/route/nhop.h> |
