summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ldapoper.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-06-18 17:25:35 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2011-06-18 17:25:35 -0400
commit699a8b2fc82949bfd5a39acc5b00670a5c350b4d (patch)
tree049720a0ad9396cb35832ebc776e8e34ce98f915 /src/modules/extra/m_ldapoper.cpp
parente46e50071fce0e6b47ef7712fae8465933bd618a (diff)
Fix extras compilation under Windows
Diffstat (limited to 'src/modules/extra/m_ldapoper.cpp')
-rw-r--r--src/modules/extra/m_ldapoper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/extra/m_ldapoper.cpp b/src/modules/extra/m_ldapoper.cpp
index 45f03aa8e..77e5989db 100644
--- a/src/modules/extra/m_ldapoper.cpp
+++ b/src/modules/extra/m_ldapoper.cpp
@@ -28,6 +28,11 @@
#include <ldap.h>
+#ifdef WINDOWS
+# pragma comment(lib, "ldap.lib")
+# pragma comment(lib, "lber.lib")
+#endif
+
/* $ModDesc: Allow/Deny connections based upon answer from LDAP server */
/* $LinkerFlags: -lldap */