remove netdb.h

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7542 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-05 13:18:55 +00:00
parent 2d85f14e9d
commit e7dc9ac29e
2 changed files with 2 additions and 12 deletions

View File

@@ -38,15 +38,11 @@ RCSID("$Id$");
#ifndef HAVE_HSTRERROR #ifndef HAVE_HSTRERROR
#include "roken.h"
#include <stdio.h>
#ifdef HAVE_NETDB_H
#if (defined(SunOS) && (SunOS >= 50)) #if (defined(SunOS) && (SunOS >= 50))
#define hstrerror broken_proto #define hstrerror broken_proto
#endif #endif
#include <netdb.h> #include "roken.h"
#if (defined(SunOS) && (SunOS >= 50))
#undef hstrerror #undef hstrerror
#endif #endif

View File

@@ -37,12 +37,6 @@ RCSID("$Id$");
#endif #endif
#include <roken.h> #include <roken.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#undef roken_gethostbyname #undef roken_gethostbyname
#undef roken_gethostbyaddr #undef roken_gethostbyaddr