Browse Source

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 13 năm trước cách đây
mục cha
commit
f5bd0ed475
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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"