src commit 0f617ae48a911caab3130d0e80cfb425bc3b653b moved the prototype of in_pcblookup_local to a new header. src commit 28d0a740dd9a6 added "opt_kern_tls.h" #include to <netinet/tcp_var.h>. PR: 266556 Differential Revision: https://reviews.freebsd.org/D36546
13 lines
372 B
C
13 lines
372 B
C
--- ng_ipacct/ng_ipacct.c.orig 2022-09-13 09:05:22 UTC
|
|
+++ ng_ipacct/ng_ipacct.c
|
|
@@ -49,6 +49,9 @@ static const char rcs_id[] =
|
|
#include <netinet/in_systm.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/in_pcb.h>
|
|
+#if __FreeBSD_version >= 1400039
|
|
+#include <netinet/in_pcb_var.h>
|
|
+#endif
|
|
#include <netinet/ip.h>
|
|
#include <netinet/ip_icmp.h>
|
|
#include <netinet/ip_var.h>
|