git: 981af1192cfa - main - bpf: Make bpf.h self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 May 2025 20:49:33 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=981af1192cfa5ecd7bee9fe47386ed9d45397828 commit 981af1192cfa5ecd7bee9fe47386ed9d45397828 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-03 20:43:42 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-05-03 20:44:45 +0000 bpf: Make bpf.h self-contained PR: 286539 MFC after: 3 days --- 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 654d6c00199e..486e3f59f7d5 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -37,6 +37,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 2ed61c32aa4e..d77ce3eae51f 100644 --- a/tools/build/test-includes/badfiles.inc +++ b/tools/build/test-includes/badfiles.inc @@ -132,7 +132,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 \