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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy