projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
cd23059
)
Fix configure check for SO_RCVTIMEO on macs: they need an extra header.
author
Robey Pointer
<robey@twitter.com>
Thu, 22 Jan 2009 08:39:28 +0000
(09:39 +0100)
committer
Robey Pointer
<robey@twitter.com>
Thu, 22 Jan 2009 08:39:28 +0000
(09:39 +0100)
config/setsockopt.m4
patch
|
blob
|
history
diff --git
a/config/setsockopt.m4
b/config/setsockopt.m4
index f1115d3a1307f6fb88f0efe19c0e842fe7b3b959..4ca7214cff9595dd1d6c1342f5b1e8809e3b2881 100644
(file)
--- a/
config/setsockopt.m4
+++ b/
config/setsockopt.m4
@@
-7,6
+7,7
@@
AC_RUN_IFELSE([
#include <sys/types.h>
#include <sys/socket.h>
#include <time.h>
+#include <sys/time.h>
#include <errno.h>
], [
int sock = socket(AF_INET, SOCK_STREAM, 0);
@@
-30,6
+31,7
@@
AC_RUN_IFELSE([
#include <sys/types.h>
#include <sys/socket.h>
#include <time.h>
+#include <sys/time.h>
#include <errno.h>
], [
int sock = socket(AF_INET, SOCK_STREAM, 0);