On Tue, 2012-12-04 at 00:04 -0500, Bruce Momjian wrote:
> > I am seeing this compile error in Debian Squeeze:
> >
> > hba.c: In function ‘parse_hba_auth_opt’:
> > hba.c:1388: error: ‘LDAP_SCOPE_SUBTREE’ undeclared (first use in this function)
> > hba.c:1388: error: (Each undeclared identifier is reported only once
> > hba.c:1388: error: for each function it appears in.)
> > hba.c:1451: error: ‘LDAPURLDesc’ undeclared (first use in this function)
> > hba.c:1451: error: ‘urldata’ undeclared (first use in this function)
> > hba.c:1452: warning: ISO C90 forbids mixed declarations and code
> > hba.c:1452: warning: unused variable ‘rc’
> > make[3]: *** [hba.o] Error 1
>
> How do you like this attached patch to fix it?
Fixed, thanks.