Module Name: src Committed By: skrll Date: Sun Dec 1 09:27:12 UTC 2024
Modified Files: src/libexec/ld.elf_so/arch/riscv: mdreloc.c Log Message: Fix the build. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/libexec/ld.elf_so/arch/riscv/mdreloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/ld.elf_so/arch/riscv/mdreloc.c diff -u src/libexec/ld.elf_so/arch/riscv/mdreloc.c:1.10 src/libexec/ld.elf_so/arch/riscv/mdreloc.c:1.11 --- src/libexec/ld.elf_so/arch/riscv/mdreloc.c:1.10 Mon Jul 22 23:11:05 2024 +++ src/libexec/ld.elf_so/arch/riscv/mdreloc.c Sun Dec 1 09:27:12 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: mdreloc.c,v 1.10 2024/07/22 23:11:05 riastradh Exp $ */ +/* $NetBSD: mdreloc.c,v 1.11 2024/12/01 09:27:12 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: mdreloc.c,v 1.10 2024/07/22 23:11:05 riastradh Exp $"); +__RCSID("$NetBSD: mdreloc.c,v 1.11 2024/12/01 09:27:12 skrll Exp $"); #endif /* not lint */ /* @@ -47,6 +47,8 @@ __RCSID("$NetBSD: mdreloc.c,v 1.10 2024/ #include <sys/endian.h> #include <sys/tls.h> +#include <machine/lwp_private.h> + #include <stdlib.h> #include <string.h>