blob: 7bf9d650dbc33e3efbbb0c0ee7f03044fe044fc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-an,v 1.1 2006/08/28 16:00:45 seb Exp $
--- lib/bind/include/netdb.h.orig 2004-11-30 01:15:42.000000000 +0000
+++ lib/bind/include/netdb.h
@@ -179,9 +179,17 @@ struct addrinfo {
int _ai_pad;
#endif
socklen_t ai_addrlen;
+#elif defined(__NetBSD__)
+#if defined(__sparc__) && defined(_LP64)
+ int _ai_pad;
+#endif
+ socklen_t ai_addrlen;
#else
size_t ai_addrlen; /* length of ai_addr */
#endif
+#if defined(__NetBSD__) && (defined(__alpha__) || (defined(__i386__) && defined(_LP64)))
+ int _ai_pad;
+#endif
#ifdef __linux
struct sockaddr *ai_addr; /* binary address */
char *ai_canonname; /* canonical name for hostname */
|