Update errors to make sure we return the real error.
[awesomized/libmemcached] / libtest / client.cc
index e392e6b098332e9da490aded46506a53ff7a7ce7..c4d2df37906e9713f634050d716b5f1d58666111 100644 (file)
 #include <unistd.h>
 #include <string>
 
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#endif
+
+#ifndef HAVE_MSG_NOSIGNAL
+# define MSG_NOSIGNAL 0
+#endif
 
 namespace libtest {