From: Tom Lane Date: Tue, 4 Dec 2012 22:25:51 +0000 (-0500) Subject: Attempt to un-break Windows builds with USE_LDAP. X-Git-Tag: REL9_3_BETA1~626 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cdf498c5d76915954cb5d5c6097eb67eb94560c8;p=thirdparty%2Fpostgresql.git 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. --- 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 +#else #include #endif -/* currently no Windows LDAP needed in this file */ #endif