projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
b77b43c
)
Fix for OSX.
author
Brian Aker
<brian@tangent.org>
Mon, 10 Dec 2012 08:48:34 +0000
(
03:48
-0500)
committer
Brian Aker
<brian@tangent.org>
Mon, 10 Dec 2012 08:48:34 +0000
(
03:48
-0500)
libtest/client.cc
patch
|
blob
|
history
diff --git
a/libtest/client.cc
b/libtest/client.cc
index 6caac9b1b505d6fe0c94e34bcdf744354615426f..c4d2df37906e9713f634050d716b5f1d58666111 100644
(file)
--- a/
libtest/client.cc
+++ b/
libtest/client.cc
@@
-41,8
+41,14
@@
#include <sys/socket.h>
#include <unistd.h>
#include <string>
-#include <poll.h>
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#endif
+
+#ifndef HAVE_MSG_NOSIGNAL
+# define MSG_NOSIGNAL 0
+#endif
namespace libtest {