diff options
| author | Ruslan Bukin <br@FreeBSD.org> | 2026-06-24 09:09:05 +0000 |
|---|---|---|
| committer | Ruslan Bukin <br@FreeBSD.org> | 2026-06-24 09:10:03 +0000 |
| commit | 34397aec163cacf179991fc3606273093be6df2e (patch) | |
| tree | c4ef2fc029888cdbd35293fa03f8e034ffae1acd | |
| parent | d7a393095cfd51d473a7c6b5e369e69a172f0c37 (diff) | |
riscv: Use namespace-safe type __uint64_t to not depend on sys/types.h
| -rw-r--r-- | sys/riscv/include/ucontext.h | 10 |
1 files 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 { |
