From: Robey Pointer Date: Thu, 22 Jan 2009 08:39:28 +0000 (+0100) Subject: Fix configure check for SO_RCVTIMEO on macs: they need an extra header. X-Git-Tag: 0.26~11 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a4b23d6e9dd1676ef2797ff3ca01eba37cf45a43;p=m6w6%2Flibmemcached Fix configure check for SO_RCVTIMEO on macs: they need an extra header. --- 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);