LOG_AUTHPRIV is not defined on OpenSolaris.
authorTobias Brunner <tobias@strongswan.org>
Fri, 14 Aug 2009 11:37:07 +0000 (13:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 14 Aug 2009 11:37:07 +0000 (13:37 +0200)
src/charon/daemon.c
src/starter/loglite.c

index 973f6b6..6446111 100644 (file)
 #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;
 
 /**
index 415cf93..c88b33b 100644 (file)
 #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? */