From 37c30d35742f69841d79d45d7e8649b1dcfe042b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 18 Apr 2010 10:34:23 -0400 Subject: [PATCH] Bug 603773 - com_err.h doesn't exist on Solaris --- camel/camel-sasl-gssapi.c | 2 ++ m4/evo_krb5_support.m4 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/camel/camel-sasl-gssapi.c b/camel/camel-sasl-gssapi.c index e2d05b3..8abbc0b 100644 --- a/camel/camel-sasl-gssapi.c +++ b/camel/camel-sasl-gssapi.c @@ -39,8 +39,10 @@ #ifdef HAVE_ET_COM_ERR_H #include #else +#ifdef HAVE_COM_ERR_H #include #endif +#endif #ifdef HAVE_MIT_KRB5 #include #include diff --git a/m4/evo_krb5_support.m4 b/m4/evo_krb5_support.m4 index fd27581..109eeb1 100644 --- a/m4/evo_krb5_support.m4 +++ b/m4/evo_krb5_support.m4 @@ -87,13 +87,13 @@ AC_DEFUN([EVO_KRB5_SUPPORT],[ AM_CONDITIONAL(ENABLE_KRB5, [test "x$with_krb5" != "xno"]) AC_CHECK_HEADER([et/com_err.h], - [AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have ])],, + [AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have ])],, [[ #if HAVE_ET_COM_ERR_H #include #endif ]]) AC_CHECK_HEADER([com_err.h], - [AC_DEFINE([HAVE_COM_ERR_H], 1, [Have ])],, + [AC_DEFINE([HAVE_COM_ERR_H], 1, [Have ])],, [[ #if HAVE_COM_ERR_H #include #endif -- 2.7.4