--- ecl-0.9j-linux/contrib/sockets/sockets.lisp	2007-10-14 04:04:42.000000000 -0400
+++ ecl-0.9j-sparc/contrib/sockets/sockets.lisp	2008-03-03 20:38:43.000000000 -0500
@@ -109,7 +109,7 @@
 
 (define-c-constants
   +af-inet+ "AF_INET"
-  +af-local+ "AF_LOCAL"
+  +af-local+ #-sun4sol2 "AF_LOCAL" #+sun4sol2 "AF_UNIX"
   +eagain+ "EAGAIN"
   +eintr+ "EINTR")
 
@@ -1389,7 +1389,7 @@
 (define-sockopt socket-dont-route "SO_DONTROUTE" bool)
 (define-sockopt socket-linger "SO_LINGER" bool)
 
-#-(or :linux :wsock :cygwin)
+#-(or :sun4sol2 :linux :wsock :cygwin)
 (define-sockopt sockopt-reuse-port "SO_REUSEPORT" bool)
 
 ;; Add sockopts here as you need them...
