pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Include netdb.h for Sol...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fc734edf428
branches:  trunk
changeset: 495078:1fc734edf428
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 02 10:31:11 2005 +0000

description:
Include netdb.h for Solaris. From Neil Hoggarth in PR 30399.

diffstat:

 pkgtools/pkg_install/files/lib/ftpio.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 019f543695cb -r 1fc734edf428 pkgtools/pkg_install/files/lib/ftpio.c
--- a/pkgtools/pkg_install/files/lib/ftpio.c    Thu Jun 02 10:24:56 2005 +0000
+++ b/pkgtools/pkg_install/files/lib/ftpio.c    Thu Jun 02 10:31:11 2005 +0000
@@ -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 @@
 #if HAVE_FCNTL_H
 #include <fcntl.h>
 #endif
+#if HAVE_NETDB_H
+#include <netdb.h>
+#endif
 #if HAVE_REGEX_H
 #include <regex.h>
 #endif



Home | Main Index | Thread Index | Old Index