git: c658610b92ec - main - pf: make pfvar.h self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 11:38:57 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c658610b92ecb9a984c43b48a2907f7c979cda74
commit c658610b92ecb9a984c43b48a2907f7c979cda74
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-15 19:04:48 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-17 11:38:34 +0000
pf: make pfvar.h self-contained
Ensure that the pfvar.h header can be included without including any
other headers.
Reviewed by: imp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D33499
---
sys/net/pfvar.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index c9c3ab082c71..115ff5cd6d36 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -51,6 +51,7 @@
#include <sys/seqc.h>
#include <vm/uma.h>
+#include <net/if.h>
#include <net/radix.h>
#include <netinet/in.h>
#ifdef _KERNEL