aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-12-04 17:25:51 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-12-04 17:25:51 -0500
commitcdf498c5d76915954cb5d5c6097eb67eb94560c8 (patch)
tree426920b56c167d881dd48aec2677697a4f5cb7c6 /src
parentac99ca68d76947f438fb7e4b98d7c4ef32b1a4af (diff)
downloadpostgresql-cdf498c5d76915954cb5d5c6097eb67eb94560c8.tar.gz
postgresql-cdf498c5d76915954cb5d5c6097eb67eb94560c8.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/hba.c5
1 files 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