diff configure @ 31849:542ad87bf1b9

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.
author diego
date Thu, 05 Aug 2010 07:37:58 +0000
parents 2cbafa9f6758
children 4ab8b78352ff
line wrap: on
line diff
--- 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 <winsock2.h>
 #else
+#include <sys/types.h>
 #include <sys/socket.h>
 #endif
 int main(void) { struct sockaddr_storage sas; return 0; }