diff options
author | Adam <Adam@anope.org> | 2011-06-18 17:25:35 -0400 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2011-06-18 17:25:35 -0400 |
commit | 699a8b2fc82949bfd5a39acc5b00670a5c350b4d (patch) | |
tree | 049720a0ad9396cb35832ebc776e8e34ce98f915 /src/modules/extra/m_ldapoper.cpp | |
parent | e46e50071fce0e6b47ef7712fae8465933bd618a (diff) |
Fix extras compilation under Windows
Diffstat (limited to 'src/modules/extra/m_ldapoper.cpp')
-rw-r--r-- | src/modules/extra/m_ldapoper.cpp | 5 |
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 */ |