-
Alexis Ballier authored
POSIX does not mandate HOST_NAME_MAX to be defined and FreeBSD does not define it to encourage people to use sysconf() for discovering its value. If sysconf fails, fallback to _POSIX_HOST_NAME_MAX. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> (with minor changes)
a73ea66e