projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure, configure.in stamp-h.in, and uip/Makefile.in modified to fix
[mmh]
/
uip
/
ftpsbr.c
diff --git
a/uip/ftpsbr.c
b/uip/ftpsbr.c
index
d36e0e5
..
671a533
100644
(file)
--- a/
uip/ftpsbr.c
+++ b/
uip/ftpsbr.c
@@
-27,6
+27,7
@@
extern int v_verbose;
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
+#include <errno.h>
#if defined(BIND) && !defined(h_addr)
# define h_addr h_addr_list[0]
#if defined(BIND) && !defined(h_addr)
# define h_addr h_addr_list[0]
@@
-35,8
+36,6
@@
extern int v_verbose;
#define inaddr_copy(hp,sin) \
memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length)
#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)
#define start_tcp_client(sock,priv) \
socket (AF_INET, SOCK_STREAM, 0)