$NetBSD: patch-ab,v 1.2 2007/08/02 14:47:25 obache Exp $ --- socket.c.orig 2006-01-07 02:17:38.000000000 +0000 +++ socket.c @@ -149,7 +149,7 @@ SCM l_hostinfo(name) struct in_addr inad; const char **argv; int i = 0; -# ifndef linux +# if !(defined(linux) || defined(__NetBSD__)) if (UNBNDP(name)) { DEFER_INTS; SYSCALL(entry = gethostent(););