# HG changeset patch # User diego # Date 1280993878 0 # Node ID 542ad87bf1b908022d3592a9c64d309e667ca85a # Parent 1241f62e54e756e7ef0795509db05e9a8a0a40c2 Add sys/types.h #include before socket.h #include in sockaddr_storage test. We have that #include before socket.h in all other tests. As a sideeffect, this should make the test work on OpenBSD. diff -r 1241f62e54e7 -r 542ad87bf1b9 configure --- a/configure Wed Aug 04 13:49:16 2010 +0000 +++ b/configure Thu Aug 05 07:37:58 2010 +0000 @@ -3266,6 +3266,7 @@ #if HAVE_WINSOCK2_H #include #else +#include #include #endif int main(void) { struct sockaddr_storage sas; return 0; }