Compiler: Sun Studio 10
assuan-domain-connect.c fails to compile because sys/socket.h is not included, which defines struct msghdr. Several struct members (msg_control, msg_controllen, msg_flags) are also only defined when _XPG4_2 or _KERNEL is #defined.
How To Repeat
Compile on Solaris.
Check for Solaris during configure and #define _XPG4_2 and #include <sys/socket.h> as neccessary.