From 5ae666d1591f5ab8bc1182d053cdda7ce9a855d2 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Tue, 15 May 2012 14:38:05 -0400 Subject: Don't use syslog / LOG_DEBUG when they don't exist Signed-off-by: Kevin Wasserman ticket: 7207 (new) tags: pullup --- src/lib/gssapi/spnego/gssapiP_spnego.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/gssapi/spnego/gssapiP_spnego.h') diff --git a/src/lib/gssapi/spnego/gssapiP_spnego.h b/src/lib/gssapi/spnego/gssapiP_spnego.h index 084716d050..f50ab2df23 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 #define dsyslog(a) syslog(LOG_DEBUG, a) #else -- cgit