git: 34397aec163c - main - riscv: Use namespace-safe type __uint64_t to not depend on sys/types.h

From: Ruslan Bukin <br_at_FreeBSD.org>
Date: Wed, 24 Jun 2026 09:10:55 UTC
The branch main has been updated by br:

URL: https://cgit.FreeBSD.org/src/commit/?id=34397aec163cacf179991fc3606273093be6df2e

commit 34397aec163cacf179991fc3606273093be6df2e
Author:     Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2026-06-24 09:09:05 +0000
Commit:     Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2026-06-24 09:10:03 +0000

    riscv: Use namespace-safe type __uint64_t to not depend on sys/types.h
---
 sys/riscv/include/ucontext.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/riscv/include/ucontext.h b/sys/riscv/include/ucontext.h
index cf6a0bc1ff16..2a000656059c 100644
--- a/sys/riscv/include/ucontext.h
+++ b/sys/riscv/include/ucontext.h
@@ -64,11 +64,11 @@ struct riscv_reg_context {
 
 struct vector_context {
 	struct riscv_reg_context ctx;
-	uint64_t	vs_vstart;
-	uint64_t	vs_vl;
-	uint64_t	vs_vtype;
-	uint64_t	vs_vcsr;
-	uint64_t	reserved[3];
+	__uint64_t	vs_vstart;
+	__uint64_t	vs_vl;
+	__uint64_t	vs_vtype;
+	__uint64_t	vs_vcsr;
+	__uint64_t	reserved[3];
 };
 
 struct __mcontext {