l...@gnu.org (Ludovic Courtès) writes: > While I was at it I enabled builds on FreeBSD, OpenBSD, and Darwin. > Currently ‘rlogind’ fails to build on these platforms: > > http://hydra.nixos.org/jobset/gnu/inetutils-master > > Thanks, > Ludo’.
I don't have any of that systems now to try it, but I guess this patch, that I am going to apply, fixes the problem: Cheers, Giuseppe diff --git a/src/rlogind.c b/src/rlogind.c index d247b6a..b73d7fc 100644 --- a/src/rlogind.c +++ b/src/rlogind.c @@ -190,8 +190,10 @@ int local_dot_count; struct winsize win = { 0, 0, 0, 0 }; +#ifdef __GLIBC__ extern int iruserok (uint32_t raddr, int superuser, const char *ruser, const char *luser); +#endif void rlogin_daemon (int maxchildren, int port); int rlogind_auth (int fd, struct auth_data *ap);