$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 20:31:23 agc Exp $ --- socket.c.orig 2003-01-02 11:44:31.000000000 -0800 +++ socket.c @@ -146,7 +146,7 @@ SCM l_hostinfo(name) struct in_addr inad; char **argv; int i = 0; -#ifndef linux +#if !(defined(linux) || defined(__NetBSD__)) if UNBNDP(name) { DEFER_INTS; SYSCALL(entry = gethostent(););