diff options
author | 2000-02-15 18:53:08 +0000 | |
---|---|---|
committer | 2000-02-15 18:53:08 +0000 | |
commit | f8beb0af353c0b10533ad5c66525bed083c629f2 (patch) | |
tree | 18a785cae922f2ecab385cf9f4d093f0e4632d5a /lib/libc/net/getaddrinfo.c | |
parent | register cleanup for pty earlier. move code for pty-owner handling to pty.c (diff) | |
download | wireguard-openbsd-f8beb0af353c0b10533ad5c66525bed083c629f2.tar.xz wireguard-openbsd-f8beb0af353c0b10533ad5c66525bed083c629f2.zip |
make it possible to compile without -DINET6
Diffstat (limited to 'lib/libc/net/getaddrinfo.c')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index ff3131388ee..efcbb72a566 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo.c,v 1.10 2000/02/09 12:22:09 itojun Exp $ */ +/* $OpenBSD: getaddrinfo.c,v 1.11 2000/02/15 18:53:08 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -710,7 +710,7 @@ explore_numeric_scope(pai, hostname, servname, res) const char *servname; struct addrinfo **res; { -#ifndef SCOPE_DELIMITER +#if !defined(SCOPE_DELIMITER) || !defined(INET6) return explore_numeric(pai, hostname, servname, res); #else const struct afd *afd; |