Patch #401196: Configuration machinery for IPv6.

Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation
code taken from WIDE.
This commit is contained in:
Martin v. Löwis 2001-06-23 16:30:13 +00:00
parent e7e03cd0cf
commit 01dfdb3d35
8 changed files with 2197 additions and 344 deletions

View file

@ -187,6 +187,8 @@ Socket methods:
#include <GUSI.h>
#endif
#include "addrinfo.h"
#ifdef USE_SSL
#include "openssl/rsa.h"
#include "openssl/crypto.h"
@ -196,6 +198,14 @@ Socket methods:
#include "openssl/err.h"
#endif /* USE_SSL */
/* I know this is a bad practice, but it is the easiest... */
#ifndef HAVE_GETADDRINFO
#include "getaddrinfo.c"
#endif
#ifndef HAVE_GETNAMEINFO
#include "getnameinfo.c"
#endif
#if defined(MS_WINDOWS) || defined(__BEOS__)
/* BeOS suffers from the same socket dichotomy as Win32... - [cjh] */
/* seem to be a few differences in the API */