Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2025 20:49:33 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 981af1192cfa - main - bpf: Make bpf.h self-contained
Message-ID:  <202505032049.543KnXiJ065613@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505032049.543KnXiJ065613>