Explorar o código

Ticket #461 - fix build problem with mozldap c sdk

https://fedorahosted.org/389/ticket/461
Reviewed by: rmeggins
Fixed by: cgrzemba
Branch: master
Fix Description: mozldap does not define LDAP_MOD_OP so define it
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson %!s(int64=13) %!d(string=hai) anos
pai
achega
f5bd0ed475
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      ldap/servers/slapd/pw.c

+ 3 - 0
ldap/servers/slapd/pw.c

@@ -61,6 +61,9 @@
 #if defined( _WIN32 )
 #undef LDAPDebug
 #endif	/*  _WIN32 */
+#if defined( USE_MOZLDAP )
+#define LDAP_MOD_OP (0x0007)
+#endif /* USE_MOZLDAP */
 
 #include "slap.h"