On Sat, Apr 11, 2015 at 11:50:05PM +0200, Jakub Wilk wrote:
| kbfunc.c:327:18: error: 'HOST_NAME_MAX' undeclared (first use in this 
function)

It looks like FreeBSD forces people to call sysconf() to get the value using _SC_HOST_NAME_MAX instead of defining HOST_NAME_MAX itself. Fortunately this approach appears to be portable to Linux (and other BSDs).

I have prepared 5.6-2 with a patch for this which builds on both Linux and kFreeBSD.

--
James McDonald

Attachment: signature.asc
Description: Digital signature

Reply via email to