diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-02 10:31:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-02 10:31:11 +0000 |
commit | 540ce344e5073a325fd22ccfcbc15c5cc359a890 (patch) | |
tree | 538ed453a97957e10c00fd370baefb3b6d8cce71 /pkgtools/pkg_install | |
parent | 6be0ddf20989ebb5a0fb9bd1c8606c700a29cb00 (diff) | |
download | pkgsrc-540ce344e5073a325fd22ccfcbc15c5cc359a890.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 |