2013-09-26 17:14:40 +02:00

14 lines
366 B
Plaintext

$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(););