Re: Bug#630206: libnss-myhostname: FTBFS: fatal error: asm/types.h: No such file or directory
2011/6/17 Robert Millan <rmh@debian.org>:
>> 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.
Or just wait for HOST_NAME_MAX instead:
http://anonscm.debian.org/viewvc/glibc-bsd/trunk/glibc-ports/kfreebsd/bits/local_lim.h?r1=1685&r2=3460&view=patch
--
Robert Millan
Reply to: