Skip to content

Commit cdf498c

Browse files
committed
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.
1 parent ac99ca6 commit cdf498c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/libpq/hba.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
#include "utils/memutils.h"
3939

4040
#ifdef USE_LDAP
41-
#ifndef WIN32
41+
#ifdef WIN32
42+
#include <winldap.h>
43+
#else
4244
#include <ldap.h>
4345
#endif
44-
/* currently no Windows LDAP needed in this file */
4546
#endif
4647

4748

0 commit comments

Comments
 (0)