Re: Bug#630206: libnss-myhostname: FTBFS: fatal error: asm/types.h: No such file or directory
2011/6/17 Joachim Breitner <email@example.com>:
> I have applied and uploaded this patch to the Debian package. If there
> will be a better patch that addresses the ifindex issue, I’ll be happy
> to apply that as well.
Thanks Joachim. I may have a look at improving this, though not right now.
> BTW, Lennart, I am also applying the attached patch because
> HOST_NAME_MAX does not always exist. If you could include that patch in
> the next version as well, that would be great, as it further reduces the
> difference to the Debian version.
GNU/kFreeBSD has MAXHOSTNAMELEN, so you could just use this
macro if HOST_NAME_MAX isn't defined. Please don't hardcode such