=== modified file 'src/unexelf.c' --- src/unexelf.c 2012-10-20 21:30:51 +0000 +++ src/unexelf.c 2012-11-16 03:28:04 +0000 @@ -461,7 +461,7 @@ /* * NetBSD does not have normal-looking user-land ELF support. */ -# if defined __alpha__ || defined __sparc_v9__ +# if defined __alpha__ || defined __sparc_v9__ || defined _LP64 # define ELFSIZE 64 # else # define ELFSIZE 32