git: 0696d3889369 - stable/15 - amd64/machdep.c: explicitly include sys/uio.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Jun 2026 02:32:42 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0696d3889369b1fda133cc99fcf7c7ba5f3142a9
commit 0696d3889369b1fda133cc99fcf7c7ba5f3142a9
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-04 02:29:42 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-04 02:32:07 +0000
amd64/machdep.c: explicitly include sys/uio.h
Some kernel configurations result in struct uio being only
forward-declared.
This is direct commit to stable/15.
Sponsored by: The FreeBSD Foundation
---
sys/amd64/amd64/machdep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index e337337fd8e7..7b652d241250 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -87,6 +87,7 @@
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/ucontext.h>
+#include <sys/uio.h>
#include <sys/vmmeter.h>
#include <vm/vm.h>