git: 48881a2680ab - stable/14 - bpf: Make bpf.h self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 14:16:08 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=48881a2680ab42ea1b06d1c9685df9d295991d16 commit 48881a2680ab42ea1b06d1c9685df9d295991d16 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-03 20:43:42 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-05-06 14:15:38 +0000 bpf: Make bpf.h self-contained PR: 286539 MFC after: 3 days (cherry picked from commit 981af1192cfa5ecd7bee9fe47386ed9d45397828) --- 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 \