From e991e3cf221c9f898b7ec0c5e7492bb1202cefc4 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Tue, 7 Aug 2001 15:29:07 -0700 Subject: - (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 Added openbsd-compat/bsd-cray.h. Selective patches from William L. Jones --- openbsd-compat/inet_ntop.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 openbsd-compat/inet_ntop.h (limited to 'openbsd-compat/inet_ntop.h') 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 @@ +/* $Id: inet_ntop.h,v 1.3 2001/08/07 22:29:10 tim Exp $ */ + +#ifndef _BSD_RRESVPORT_H +#define _BSD_RRESVPORT_H + +#include "config.h" + +#ifndef HAVE_INET_NTOP +const char * +inet_ntop(int af, const void *src, char *dst, size_t size); +#endif /* !HAVE_INET_NTOP */ + +#endif /* _BSD_RRESVPORT_H */ -- cgit v1.2.3