summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <>2000-02-15 18:53:08 +0000
committeritojun <>2000-02-15 18:53:08 +0000
commit0b25150d45a4edb0baa51ce4216185a4309beac0 (patch)
treebecf21a6ea93e09fd95d397623c79040f30bcdc4
parentc6f74f025865dec277a419f48418fc03b7119500 (diff)
downloadopenbsd-0b25150d45a4edb0baa51ce4216185a4309beac0.tar.gz
openbsd-0b25150d45a4edb0baa51ce4216185a4309beac0.tar.bz2
openbsd-0b25150d45a4edb0baa51ce4216185a4309beac0.zip
make it possible to compile without -DINET6
-rw-r--r--src/lib/libc/net/getaddrinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/getaddrinfo.c b/src/lib/libc/net/getaddrinfo.c
index ff3131388e..efcbb72a56 100644
--- a/src/lib/libc/net/getaddrinfo.c
+++ b/src/lib/libc/net/getaddrinfo.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getaddrinfo.c,v 1.10 2000/02/09 12:22:09 itojun Exp $ */ 1/* $OpenBSD: getaddrinfo.c,v 1.11 2000/02/15 18:53:08 itojun Exp $ */
2 2
3/* 3/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -710,7 +710,7 @@ explore_numeric_scope(pai, hostname, servname, res)
710 const char *servname; 710 const char *servname;
711 struct addrinfo **res; 711 struct addrinfo **res;
712{ 712{
713#ifndef SCOPE_DELIMITER 713#if !defined(SCOPE_DELIMITER) || !defined(INET6)
714 return explore_numeric(pai, hostname, servname, res); 714 return explore_numeric(pai, hostname, servname, res);
715#else 715#else
716 const struct afd *afd; 716 const struct afd *afd;