<div>Hello.</div><div><br></div><div>Today I have tried to compile scp at Solaris and found some problems :</div><div>1)  in scp.c you have declaration like this :</div><div>u_int64_t waitlen;</div><div>but there is no  u_int64_t type in Solaris header files.</div>
<div>So I have demoved one character and that&#39;s all.</div><div>uint64_t waitlen; </div><div>May be it will be better to create typedef for Solaris.</div><div><br></div><div>2) you use nanosleep in scp.c</div><div>But is Solaris nanosleep not from Standart C library but from Realtime library.</div>
<div>So scp must be linked with librt</div><div><br></div><div>3) There is now vasprintf in Solaris (yet)</div><div>I&#39;m not sure what will be the best solution ( change code and use vsprintf or include internally vasprintf especially for Solaris ) </div>
<div><br></div><div>Anton</div>