From: Kurt Zeilenga Date: Thu, 22 Oct 1998 20:58:37 +0000 (+0000) Subject: Tried to port to NT... but no resolver routines. X-Git-Tag: PHP3_TOOL_0_0~18^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0549966661e1320df0991baa61829fda23dfe3da;p=openldap Tried to port to NT... but no resolver routines. --- 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