diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c index bdadd55389c3..ec878c5bebc5 100644 --- a/lib/libc/gen/nlist.c +++ b/lib/libc/gen/nlist.c @@ -47,7 +47,10 @@ __FBSDID("$FreeBSD$"); #include #include "un-namespace.h" +/* There is no a.out support on arm64 */ +#ifndef __aarch64__ #define _NLIST_DO_AOUT +#endif #define _NLIST_DO_ELF #ifdef _NLIST_DO_ELF