diff options
author | wiz <wiz> | 2005-06-02 10:31:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-06-02 10:31:11 +0000 |
commit | abc0e954b49f8b0a885a0eeb677013e46d148203 (patch) | |
tree | 538ed453a97957e10c00fd370baefb3b6d8cce71 /pkgtools/pkg_install | |
parent | 7d9c719bdddba247cfe51a50f8408d8387715071 (diff) | |
download | pkgsrc-abc0e954b49f8b0a885a0eeb677013e46d148203.tar.gz |
Include netdb.h for Solaris. From Neil Hoggarth in PR 30399.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/files/lib/ftpio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/lib/ftpio.c b/pkgtools/pkg_install/files/lib/ftpio.c index 95ac9963009..67f48c8887d 100644 --- a/pkgtools/pkg_install/files/lib/ftpio.c +++ b/pkgtools/pkg_install/files/lib/ftpio.c @@ -1,4 +1,4 @@ -/* $NetBSD: ftpio.c,v 1.16 2005/05/30 13:23:32 wiz Exp $ */ +/* $NetBSD: ftpio.c,v 1.17 2005/06/02 10:31:11 wiz Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -8,7 +8,7 @@ #include <sys/cdefs.h> #endif #ifndef lint -__RCSID("$NetBSD: ftpio.c,v 1.16 2005/05/30 13:23:32 wiz Exp $"); +__RCSID("$NetBSD: ftpio.c,v 1.17 2005/06/02 10:31:11 wiz Exp $"); #endif /*- @@ -107,6 +107,9 @@ __RCSID("$NetBSD: ftpio.c,v 1.16 2005/05/30 13:23:32 wiz Exp $"); #if HAVE_FCNTL_H #include <fcntl.h> #endif +#if HAVE_NETDB_H +#include <netdb.h> +#endif #if HAVE_REGEX_H #include <regex.h> #endif |