postgres.git / summary / log / commit / refs

commit    cdf498c5d76915954cb5d5c6097eb67eb94560c8
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Tue Dec 04 22:25:51 2012 +0000
First released in: 9.3.0

    Attempt to un-break Windows builds with USE_LDAP.
    
    The buildfarm shows this case is entirely broken, and I'm betting the
    reason is lack of any include file.


src/backend/libpq/hba.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 40727a9c8ee..f21a6396140 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -38,10 +38,11 @@ #include "utils/memutils.h" #ifdef USE_LDAP -#ifndef WIN32 +#ifdef WIN32 +#include <winldap.h> +#else #include <ldap.h> #endif -/* currently no Windows LDAP needed in this file */ #endif [parent: ac99ca68d769]