$NetBSD: patch-ac,v 1.1 2007/01/04 12:45:41 tron Exp $

--- rak/socket_address.h.orig	2006-10-27 15:48:46.000000000 +0200
+++ 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;
