summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-02 10:31:11 +0000
committerwiz <wiz@pkgsrc.org>2005-06-02 10:31:11 +0000
commit540ce344e5073a325fd22ccfcbc15c5cc359a890 (patch)
tree538ed453a97957e10c00fd370baefb3b6d8cce71 /pkgtools/pkg_install
parent6be0ddf20989ebb5a0fb9bd1c8606c700a29cb00 (diff)
downloadpkgsrc-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.c7
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