From cdf498c5d76915954cb5d5c6097eb67eb94560c8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 4 Dec 2012 17:25:51 -0500 Subject: [PATCH] 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 40727a9c8e..f21a639614 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