Hi,
The attached patch was written by Aurelien Jarno aurel32@debian.org to make it work on GNU/kFreeBSD. statfs doesn't have a f_namelen member but does have a f_namemax member.
Kurt
I've instead changed the code to use pathconf rather than statfs.
Thanks, Roland
elfutils-devel@lists.fedorahosted.org