X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FConnection.cpp;h=806ce502e4f36889ee51c4aa9954c07328da1621;hb=6b7d2bf0319e0bd48bd6aa4ad8c56a935f98b0d2;hp=b6df553b1ca5f166c259cb29118b6e2ded18b036;hpb=a1b265e9eba018e9ea510c9224953c27fc271bc9;p=m6w6%2Flibmemcached diff --git a/test/lib/Connection.cpp b/test/lib/Connection.cpp index b6df553b..806ce502 100644 --- a/test/lib/Connection.cpp +++ b/test/lib/Connection.cpp @@ -2,7 +2,9 @@ #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(); }