summaryrefslogtreecommitdiff
path: root/lang/scm/patches/patch-ab
blob: d5ea982bf24188cebca2fa8b27e01aa47c2391f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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(););