LOG_AUTHPRIV is not defined on OpenSolaris.

This commit is contained in:
Tobias Brunner
2009-08-14 13:37:07 +02:00
parent 3901937d14
commit a3ccf95f3f
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -42,6 +42,10 @@
#include <config/traffic_selector.h> #include <config/traffic_selector.h>
#include <config/proposal.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; typedef struct private_daemon_t private_daemon_t;
/** /**
+4
View File
@@ -33,6 +33,10 @@
#include <log.h> #include <log.h>
#include <whack.h> #include <whack.h>
#ifndef LOG_AUTHPRIV
#define LOG_AUTHPRIV LOG_AUTH
#endif
bool bool
log_to_stderr = FALSE, /* should log go to stderr? */ log_to_stderr = FALSE, /* should log go to stderr? */
log_to_syslog = TRUE; /* should log go to syslog? */ log_to_syslog = TRUE; /* should log go to syslog? */