From a4b23d6e9dd1676ef2797ff3ca01eba37cf45a43 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Thu, 22 Jan 2009 09:39:28 +0100 Subject: [PATCH] Fix configure check for SO_RCVTIMEO on macs: they need an extra header. --- config/setsockopt.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/setsockopt.m4 b/config/setsockopt.m4 index f1115d3a..4ca7214c 100644 --- a/config/setsockopt.m4 +++ b/config/setsockopt.m4 @@ -7,6 +7,7 @@ AC_RUN_IFELSE([ #include #include #include +#include #include ], [ int sock = socket(AF_INET, SOCK_STREAM, 0); @@ -30,6 +31,7 @@ AC_RUN_IFELSE([ #include #include #include +#include #include ], [ int sock = socket(AF_INET, SOCK_STREAM, 0); -- 2.30.2