]> granicus.if.org Git - postgresql/commitdiff
Attempt to un-break Windows builds with USE_LDAP.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Dec 2012 22:25:51 +0000 (17:25 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Dec 2012 22:25:51 +0000 (17:25 -0500)
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

index 40727a9c8eeecdd1b1e94103bfebaf19f7ba5124..f21a63961401c338599bab6f1ce0fc09ce743616 100644 (file)
 #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