git: f30669ba9725 - releng/14.3 - bpf: Make bpf.h self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 12:09:57 UTC
The branch releng/14.3 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=f30669ba9725c37ea4336b4236a2f117276848a1
commit f30669ba9725c37ea4336b4236a2f117276848a1
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-05-03 20:43:42 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-05-07 12:05:08 +0000
bpf: Make bpf.h self-contained
PR: 286539
MFC after: 3 days
Approved by: re (cperciva)
(cherry picked from commit 981af1192cfa5ecd7bee9fe47386ed9d45397828)
(cherry picked from commit 48881a2680ab42ea1b06d1c9685df9d295991d16)
---
sys/net/bpf.h | 1 +
tools/build/test-includes/badfiles.inc | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index c4132d2e633c..8ee8a841a96d 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -40,6 +40,7 @@
#ifndef _NET_BPF_H_
#define _NET_BPF_H_
+#include <sys/types.h>
#include <sys/_eventhandler.h>
#include <sys/ck.h>
#include <net/dlt.h>
diff --git a/tools/build/test-includes/badfiles.inc b/tools/build/test-includes/badfiles.inc
index 297b00207885..496eaf70b9c3 100644
--- a/tools/build/test-includes/badfiles.inc
+++ b/tools/build/test-includes/badfiles.inc
@@ -141,7 +141,6 @@ BADHDRS= \
sys/vdso.h \
sys/vmmeter.h \
sys/vnode.h \
- net/bpf.h \
net/bpf_buffer.h \
net/bpf_jitter.h \
net/bpf_zerocopy.h \