changeset 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 1241f62e54e7
children b9c9e72a37b2
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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; }