From e7dc9ac29ec5e3d56bfdd24ab3aaaa3d376f1fc9 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 5 Dec 1999 13:18:55 +0000 Subject: [PATCH] remove netdb.h git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7542 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/hstrerror.c | 8 ++------ lib/roken/roken_gethostby.c | 6 ------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/roken/hstrerror.c b/lib/roken/hstrerror.c index ef3412dcc..168d55a67 100644 --- a/lib/roken/hstrerror.c +++ b/lib/roken/hstrerror.c @@ -38,15 +38,11 @@ RCSID("$Id$"); #ifndef HAVE_HSTRERROR -#include "roken.h" - -#include - -#ifdef HAVE_NETDB_H #if (defined(SunOS) && (SunOS >= 50)) #define hstrerror broken_proto #endif -#include +#include "roken.h" +#if (defined(SunOS) && (SunOS >= 50)) #undef hstrerror #endif diff --git a/lib/roken/roken_gethostby.c b/lib/roken/roken_gethostby.c index 43255af02..f95e34ec3 100644 --- a/lib/roken/roken_gethostby.c +++ b/lib/roken/roken_gethostby.c @@ -37,12 +37,6 @@ RCSID("$Id$"); #endif #include -#ifdef HAVE_NETDB_H -#include -#endif -#ifdef HAVE_ARPA_INET_H -#include -#endif #undef roken_gethostbyname #undef roken_gethostbyaddr