X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FConnection.cpp;h=82414f135127d373588e37b67846365e3b599a2b;hb=4dbf7c03641596dd9cd080c05761d159371219d9;hp=b6df553b1ca5f166c259cb29118b6e2ded18b036;hpb=a1b265e9eba018e9ea510c9224953c27fc271bc9;p=awesomized%2Flibmemcached diff --git a/test/lib/Connection.cpp b/test/lib/Connection.cpp index b6df553b..82414f13 100644 --- a/test/lib/Connection.cpp +++ b/test/lib/Connection.cpp @@ -1,8 +1,10 @@ #include "Connection.hpp" +#include "p9y/poll.hpp" #include -#include -#include +#if HAVE_UNISTD_H +# include +#endif #if !(HAVE_SOCK_NONBLOCK && HAVE_SOCK_CLOEXEC) # include @@ -193,6 +195,5 @@ string Connection::error(const initializer_list &args) { ss << arg; } - cerr << ss.str() << endl; return ss.str(); }