summaryrefslogtreecommitdiff
path: root/pkgtools
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
commit0d7f8ea50c3c43a8fadccc67df2824530abf5dcb (patch)
treec531f4bb612818306af469db31bc69e222fb63c2 /pkgtools
parenta5139c24586203f9acb34862fa952d6aee0b1b7f (diff)
downloadpkgsrc-0d7f8ea50c3c43a8fadccc67df2824530abf5dcb.tar.gz
No sin_len on IRIX.
Diffstat (limited to 'pkgtools')
-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;