Hello,
in detecting the size of "struct sockaddr_in6" for BSD, in my
case OpenBSD 4.6, the inclusion of <sys/types.h> is mandatory.
Thus the test case must read
#include <sys/types.h>
#include <netinet/in.h>
int
main (void)
{
if (sizeof (struct sockaddr_in6))
return 0;
else
return 0;
}
Since "sys/types.h" is missing in the configure script
built using "bootstrap", the result is that OpenBSD is
judged as being inferior, according to "config.log":
configure:31742: WARNING: IPv6 support not available, disabling IPv6
This is most unfortunate!
Best regards,
Mats E Andersson