# # patch "cvs_client.cc" # from [7e1129f5756ae3f4309b54dbc7674d58f91c31a7] # to [ebae4ee32b588406214b3edff5fd3451240149a4] # --- cvs_client.cc +++ cvs_client.cc @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -319,6 +320,7 @@ if (gethostname(domainname,sizeof domainname)) throw oops("gethostname "+std::string(strerror(errno))); domainname[sizeof(domainname)-1]=0; +#ifndef __sun unsigned len=strlen(domainname); if (len && len