From bde72979d76dd0d0e25c6ccbe5be14e20e88bba7 Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 21 Jul 2007 14:45:12 +0000 Subject: Interix doesn't have sockaddr_in.sin_len. --- pkgtools/pbulk/files/pbulk/lib/netaddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pbulk/files/pbulk/lib/netaddr.c b/pkgtools/pbulk/files/pbulk/lib/netaddr.c index bfd29f573a9..f1710269425 100644 --- a/pkgtools/pbulk/files/pbulk/lib/netaddr.c +++ b/pkgtools/pbulk/files/pbulk/lib/netaddr.c @@ -1,4 +1,4 @@ -/* $NetBSD: netaddr.c,v 1.3 2007/07/17 12:09:29 tnn Exp $ */ +/* $NetBSD: netaddr.c,v 1.4 2007/07/21 14:45:12 tnn Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger . @@ -70,7 +70,7 @@ parse_sockaddr_in(const char *str, struct sockaddr_in *addr) return -1; addr->sin_port = htons((in_port_t)tmp); addr->sin_addr = in; -#if !defined(__sun) && !defined(__hpux) +#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) addr->sin_len = sizeof(*addr); #endif addr->sin_family = AF_INET; -- cgit v1.2.3