Index: head/usr.bin/ldd/ldd.c =================================================================== --- head/usr.bin/ldd/ldd.c +++ head/usr.bin/ldd/ldd.c @@ -48,8 +48,8 @@ #include "extern.h" -/* We don't support a.out executables on arm64 */ -#ifndef __aarch64__ +/* We don't support a.out executables on arm64 and riscv */ +#if !defined(__aarch64__) && !defined(__riscv__) #include #define AOUT_SUPPORTED #endif