diff options
author | Tim Rice <tim@multitalents.net> | 2001-08-07 15:29:07 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2001-08-07 15:29:07 -0700 |
commit | e991e3cf221c9f898b7ec0c5e7492bb1202cefc4 (patch) | |
tree | be55c57e75269fb299f9cbcf32a5c0ab58cfd2b4 /openbsd-compat/inet_ntop.h | |
parent | 6db66ff3877f52110cda3104e798d91091af7200 (diff) |
- (tim) [configure.in sshconnect.c openbsd-compat/Makefile.in
openbsd-compat/openbsd-compat.h ] Add inet_ntop.c inet_ntop.h back
in. Needed for sshconnect.c
[sshconnect.c] fix INET6_ADDRSTRLEN for non IPv6 machines
[configure.in] make tests with missing libraries fail
patch by Wendy Palm <wendyp@cray.com>
Added openbsd-compat/bsd-cray.h. Selective patches from
William L. Jones <jones@mail.utexas.edu>
Diffstat (limited to 'openbsd-compat/inet_ntop.h')
-rw-r--r-- | openbsd-compat/inet_ntop.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsd-compat/inet_ntop.h b/openbsd-compat/inet_ntop.h new file mode 100644 index 000000000..ab0f14835 --- /dev/null +++ b/openbsd-compat/inet_ntop.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* $Id: inet_ntop.h,v 1.3 2001/08/07 22:29:10 tim Exp $ */ | ||
2 | |||
3 | #ifndef _BSD_RRESVPORT_H | ||
4 | #define _BSD_RRESVPORT_H | ||
5 | |||
6 | #include "config.h" | ||
7 | |||
8 | #ifndef HAVE_INET_NTOP | ||
9 | const char * | ||
10 | inet_ntop(int af, const void *src, char *dst, size_t size); | ||
11 | #endif /* !HAVE_INET_NTOP */ | ||
12 | |||
13 | #endif /* _BSD_RRESVPORT_H */ | ||