diff options
Diffstat (limited to 'plugins')
-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; | |||
67 | #ifdef HAVE_LDAP_SET_OPTION | 67 | #ifdef HAVE_LDAP_SET_OPTION |
68 | int ld_protocol = DEFAULT_PROTOCOL; | 68 | int ld_protocol = DEFAULT_PROTOCOL; |
69 | #endif | 69 | #endif |
70 | #ifndef LDAP_OPT_SUCCESS | ||
71 | # define LDAP_OPT_SUCCESS LDAP_SUCCESS | ||
72 | #endif | ||
70 | double warn_time = UNDEFINED; | 73 | double warn_time = UNDEFINED; |
71 | double crit_time = UNDEFINED; | 74 | double crit_time = UNDEFINED; |
72 | struct timeval tv; | 75 | struct timeval tv; |