X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fftpsbr.c;h=525554e77ae304fd8c5d30e70df6ef9bc6079880;hb=7736b0a60c15cc20db0ba8c3e0fe8e11d1c78c20;hp=d36e0e5088a471f2a94d0159513393182fbbeab3;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/ftpsbr.c b/uip/ftpsbr.c index d36e0e5..525554e 100644 --- a/uip/ftpsbr.c +++ b/uip/ftpsbr.c @@ -27,16 +27,15 @@ extern int v_verbose; #include #include #include +#include -#if defined(BIND) && !defined(h_addr) +#if !defined(h_addr) # define h_addr h_addr_list[0] #endif #define inaddr_copy(hp,sin) \ memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length) -extern int errno; - #define start_tcp_client(sock,priv) \ socket (AF_INET, SOCK_STREAM, 0)