diff options
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r-- | plugins/check_ldap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 6a46ff12..5541e5c8 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -67,6 +67,9 @@ int ld_port = DEFAULT_PORT; #ifdef HAVE_LDAP_SET_OPTION int ld_protocol = DEFAULT_PROTOCOL; #endif +#ifndef LDAP_OPT_SUCCESS +# define LDAP_OPT_SUCCESS LDAP_SUCCESS +#endif double warn_time = UNDEFINED; double crit_time = UNDEFINED; struct timeval tv; |