summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-02-21 14:40:43 +0000
committertnn <tnn@pkgsrc.org>2008-02-21 14:40:43 +0000
commit4c718bd4e0341e207e1e0bc15191ee6b0495d187 (patch)
treec531f4bb612818306af469db31bc69e222fb63c2 /pkgtools/pbulk
parenta1aba997fab9e7c3d2d8014fd1514720aadabc3d (diff)
downloadpkgsrc-4c718bd4e0341e207e1e0bc15191ee6b0495d187.tar.gz
No sin_len on IRIX.
Diffstat (limited to 'pkgtools/pbulk')
-rw-r--r--pkgtools/pbulk/files/pbulk/lib/netaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pbulk/files/pbulk/lib/netaddr.c b/pkgtools/pbulk/files/pbulk/lib/netaddr.c
index f5c4981e99d..52989b78530 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.6 2007/08/16 12:50:34 joerg Exp $ */
+/* $NetBSD: netaddr.c,v 1.7 2008/02/21 14:40:43 tnn Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -71,7 +71,7 @@ parse_sockaddr_in(const char *str, struct sockaddr_in *addr)
addr->sin_port = htons((in_port_t)tmp);
addr->sin_addr = in;
#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
- !defined(__digital__) && !defined(__linux)
+ !defined(__digital__) && !defined(__linux) && !defined(__sgi)
addr->sin_len = sizeof(*addr);
#endif
addr->sin_family = AF_INET;