Jon Dyte wrote: > In order to get passfd.c to compile under solaris' cc, I had to add > the following to passfd.c before including sys/socket.h > > #ifndef _XPG4_2 > #define _XPG4_2 > #endif Which version did you try? The latest version of passfd has: #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 500 #endif I think that does essentially the same thing. Neil