From a3ccf95f3ffd67ae955a5641921240344b6aadd6 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 14 Aug 2009 13:37:07 +0200 Subject: [PATCH] LOG_AUTHPRIV is not defined on OpenSolaris. --- src/charon/daemon.c | 4 ++++ src/starter/loglite.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/charon/daemon.c b/src/charon/daemon.c index 973f6b6b8..644611170 100644 --- a/src/charon/daemon.c +++ b/src/charon/daemon.c @@ -42,6 +42,10 @@ #include #include +#ifndef LOG_AUTHPRIV /* not defined on OpenSolaris */ +#define LOG_AUTHPRIV LOG_AUTH +#endif + typedef struct private_daemon_t private_daemon_t; /** diff --git a/src/starter/loglite.c b/src/starter/loglite.c index 415cf931c..c88b33bfd 100644 --- a/src/starter/loglite.c +++ b/src/starter/loglite.c @@ -33,6 +33,10 @@ #include #include +#ifndef LOG_AUTHPRIV +#define LOG_AUTHPRIV LOG_AUTH +#endif + bool log_to_stderr = FALSE, /* should log go to stderr? */ log_to_syslog = TRUE; /* should log go to syslog? */