Fixing !INET6 builds.

This commit is contained in:
avatar 2008-11-25 02:15:09 +00:00
parent 7a3aea1fdd
commit b7ea450d84

View File

@ -100,7 +100,9 @@ realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int addrlen)
{
int result, error;
char buf[NI_MAXHOST];
#ifdef INET6
struct sockaddr_in lsin;
#endif
result = HOSTNAME_INVALIDADDR;