$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;
