aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charon/daemon.c4
-rw-r--r--src/starter/loglite.c4
2 files changed, 8 insertions, 0 deletions
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 <config/traffic_selector.h>
#include <config/proposal.h>
+#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 <log.h>
#include <whack.h>
+#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? */