mirror of git://anongit.mindrot.org/openssh.git
remove dependency on arpa/telnet.h
This commit is contained in:
parent
202d443eed
commit
673a1c16ad
|
@ -42,7 +42,6 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <arpa/telnet.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <netdb.h>
|
||||
|
@ -63,6 +62,13 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Telnet options from arpa/telnet.h */
|
||||
#define IAC 255
|
||||
#define DONT 254
|
||||
#define DO 253
|
||||
#define WONT 252
|
||||
#define WILL 251
|
||||
|
||||
#ifndef SUN_LEN
|
||||
#define SUN_LEN(su) \
|
||||
(sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
|
||||
|
|
Loading…
Reference in New Issue