From 0549966661e1320df0991baa61829fda23dfe3da Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 22 Oct 1998 20:58:37 +0000 Subject: [PATCH] Tried to port to NT... but no resolver routines. --- libraries/libldap/getdxbyname.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libraries/libldap/getdxbyname.c b/libraries/libldap/getdxbyname.c index 153b111963..0290cf4037 100644 --- a/libraries/libldap/getdxbyname.c +++ b/libraries/libldap/getdxbyname.c @@ -1,6 +1,3 @@ -#include "portable.h" - -#ifdef LDAP_DNS /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. @@ -8,10 +5,14 @@ * ldap_getdxbyname - retrieve DX records from the DNS (from TXT records for now) */ +#include "portable.h" + +#ifdef LDAP_DNS + #include #include -#include +#include #include #include #include @@ -22,10 +23,6 @@ static char ** decode_answer LDAP_P(( unsigned char *answer, int len )); -extern int h_errno; -extern char *h_errlist[]; - - #define MAX_TO_SORT 32 -- 2.39.5