git: 76af334737b1 - main - ipfw: fix !VIMAGE build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jan 2026 05:52:37 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=76af334737b1f388163dab6d63aab90de7a46c40
commit 76af334737b1f388163dab6d63aab90de7a46c40
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-01-18 05:51:38 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-01-18 05:51:38 +0000
ipfw: fix !VIMAGE build
NB: Rest of ipfw(4) sources get sx.h via vnet.h, which isn't perfect.
---
sys/netpfil/ipfw/ip_fw_bpf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netpfil/ipfw/ip_fw_bpf.c b/sys/netpfil/ipfw/ip_fw_bpf.c
index af52cbc62ed6..9b92b136beb2 100644
--- a/sys/netpfil/ipfw/ip_fw_bpf.c
+++ b/sys/netpfil/ipfw/ip_fw_bpf.c
@@ -30,7 +30,7 @@
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/rwlock.h>
+#include <sys/sx.h>
#include <sys/socket.h>
#include <sys/tree.h>
#include <net/ethernet.h>