blob: b4cf3298884721f88e672d97ce5e8ea34d099fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.5 2007/01/04 12:46:38 tron Exp $
--- rak/socket_address.h.orig 2007-01-04 01:55:46.851086425 +0100
+++ rak/socket_address.h
@@ -62,7 +62,11 @@ class socket_address_inet6;
class socket_address {
public:
+#if defined(__sun) && defined(__SVR4)
+ static const sa_family_t af_local = AF_UNIX;
+#else
static const sa_family_t af_local = AF_LOCAL;
+#endif
static const sa_family_t af_unix = AF_UNIX;
// static const sa_family_t af_file = AF_FILE;
static const sa_family_t af_inet = AF_INET;
|