fix compilation problems advised by skoo87
fix compilation problems advised by skoo87

caosiyang/tcpcopy,caosiyang/tcpcopy,daodaoliang/tcpcopy,u20024804/tcpcopy,sshling/tcpcopy,horryq/tcpcopy,ycaihua/tcpcopy,liviusATnetskope/second,daodaoliang/tcpcopy,wfxiang08/tcpcopy,wfxiang08/tcpcopy,horryq/tcpcopy,eliteYang/tcpcopy,eliteYang/tcpcopy,u20024804/tcpcopy,left2right/tcpcopy,liviusATnetskope/second,left2right/tcpcopy,sshling/tcpcopy,ycaihua/tcpcopy