diff options
author | Kevin Wasserman <kevin.wasserman@painless-security.com> | 2012-05-15 14:38:05 -0400 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2012-07-23 16:05:03 -0400 |
commit | 316cf5a2b46433885e84720b31acb2aea00b5119 (patch) | |
tree | 64595f5332a6c9245c0009cae5eba2fb2d379d91 /src/lib | |
parent | e5578f06f744ab4779074d0c1ba46bdee1b2a23c (diff) | |
download | krb5-316cf5a2b46433885e84720b31acb2aea00b5119.zip krb5-316cf5a2b46433885e84720b31acb2aea00b5119.tar.gz krb5-316cf5a2b46433885e84720b31acb2aea00b5119.tar.bz2 |
Don't use syslog / LOG_DEBUG when they don't exist
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 5ae666d1591f5ab8bc1182d053cdda7ce9a855d2)
ticket: 7207
version_fixed: 1.10.3
status: resolved
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/gssapi/spnego/gssapiP_spnego.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/spnego/gssapiP_spnego.h b/src/lib/gssapi/spnego/gssapiP_spnego.h index 084716d..f50ab2d 100644 --- a/src/lib/gssapi/spnego/gssapiP_spnego.h +++ b/src/lib/gssapi/spnego/gssapiP_spnego.h @@ -117,7 +117,7 @@ typedef struct { extern const gss_OID_desc * const gss_mech_spnego; extern const gss_OID_set_desc * const gss_mech_set_spnego; -#ifdef DEBUG +#if defined(DEBUG) && defined(HAVE_SYSLOG_H) #include <syslog.h> #define dsyslog(a) syslog(LOG_DEBUG, a) #else |