K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2010-09-10T17:59:11.525670Z
K 7
svn:log
V 911
INN thinks that OpenBSD (4.6) doesn't support Unix-domain sockets.
The problem is that <sys/socket.h> doesn't include cleanly unless you
include <sys/types.h>, and the AF_UNIX test in m4/socket.m4 doesn't include
<sys/types.h>.

It is also added to the test program for AI_ADDRCONFIG, even though (a)
including stdio.h happens to pull in the necessary headers and (b) OpenBSD
doesn't have AI_ADDRCONFIG anyway.

Note:  m4/sendfd.m4 can be left without the patch.  This will always fail
on OpenBSD anyway, so it shouldn't matter.  This will only successfully
compile and run on a STREAMS-based system, so only SysV.
It is the same for include/portable/getnameinfo.h and
include/portable/getaddrinfo.h:  none of those currently cause problems
because these headers are only included by files which have already included
sys/types.h, and OpenBSD doesn't support STREAMS at all.

Thanks to Wim Lewis for the patch.

END
