summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/libfetch/files/common.h4
-rw-r--r--pkgtools/pbulk/files/pbulk/lib/netaddr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/libfetch/files/common.h b/net/libfetch/files/common.h
index db0379b6271..d8fb9bc1462 100644
--- a/net/libfetch/files/common.h
+++ b/net/libfetch/files/common.h
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.2 2008/02/07 17:42:14 joerg Exp $ */
+/* $NetBSD: common.h,v 1.3 2008/02/21 14:40:43 tnn Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -46,7 +46,7 @@
#endif
#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
- !defined(__digital__) && !defined(__linux)
+ !defined(__digital__) && !defined(__linux) && !defined(__sgi)
#define HAVE_SA_LEN
#endif
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;