git: cb55ad8ff89c - main - sendfile: Include opt_inet*.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Oct 2026 15:19:44 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb55ad8ff89cbbae776190842d2d71ef7a185098
commit cb55ad8ff89cbbae776190842d2d71ef7a185098
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-10-08 15:19:25 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-10-08 15:19:25 +0000
sendfile: Include opt_inet*.h
Pointy hat to: jhb
Reported by: markj
Fixes: 1d8c5f8e0255 ("sendfile: Fix build for kernels without INET or INET6")
---
sys/kern/kern_sendfile.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/kern/kern_sendfile.c b/sys/kern/kern_sendfile.c
index b9e7a1a2ce97..f73815cf3ef4 100644
--- a/sys/kern/kern_sendfile.c
+++ b/sys/kern/kern_sendfile.c
@@ -27,6 +27,8 @@
* SUCH DAMAGE.
*/
+#include "opt_inet.h"
+#include "opt_inet6.h"
#include "opt_kern_tls.h"
#include <sys/param.h>