[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#830734: procps: FTBFS[!linux]: 'HOST_NAME_MAX' undeclared



On Tue, Jul 12, 2016 at 11:43 PM Aaron M. Ucko <ucko@debian.org> wrote:
Craig Small <csmall@debian.org> writes:

> /usr/include/x86_64-linux-gnu/bits/local_lim.h:#define HOST_NAME_MAX 64

I just took a closer look and noticed the "-linux-" in this path.  This
is not a header I would expect kFreeBSD builds to use.

I completely agree it seemed odd that a kfreebsd system included a header with linux in it.

However it is included at least on my system and there is nothing "linuxy" about that definition. Perhaps the value is but it seems odd you would put this into a linux only header.

I have a (yet another kfreebsd kludge) work-around so procps will compile but it seems to me something to get around the deficiencies or discrepancies of the libc headers. It's no real biggie to have that in procps though.

 - Craig


Reply to: