# HG changeset patch # User bircoph # Date 1227001291 0 # Node ID 305a6ca171173ef64ae05c25ca0f0402e5d05b94 # Parent 77cedfa1fb7cf046c21005c924726538951a1a83 On OpenBSD socklen_t is defined at sys/types.h, so latter is added to the header search path. diff -r 77cedfa1fb7c -r 305a6ca17117 configure --- a/configure Tue Nov 18 03:41:54 2008 +0000 +++ b/configure Tue Nov 18 09:41:31 2008 +0000 @@ -2894,7 +2894,7 @@ echocheck "socklen_t" _socklen_t=no -for header in "sys/socket.h" "ws2tcpip.h" ; do +for header in "sys/socket.h" "ws2tcpip.h" "sys/types.h" ; do cat > $TMPC << EOF #include <$header> int main(void) { socklen_t v = 0; return v; }