summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/log.h')
-rw-r--r--crypto/openssh/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssh/log.h b/crypto/openssh/log.h
index 1c6a21c..3e4c3c3 100644
--- a/crypto/openssh/log.h
+++ b/crypto/openssh/log.h
@@ -15,11 +15,16 @@
#ifndef SSH_LOG_H
#define SSH_LOG_H
+#include <syslog.h> /* Needed for LOG_AUTHPRIV (if present) */
+
/* Supported syslog facilities and levels. */
typedef enum {
SYSLOG_FACILITY_DAEMON,
SYSLOG_FACILITY_USER,
SYSLOG_FACILITY_AUTH,
+#ifdef LOG_AUTHPRIV
+ SYSLOG_FACILITY_AUTHPRIV,
+#endif
SYSLOG_FACILITY_LOCAL0,
SYSLOG_FACILITY_LOCAL1,
SYSLOG_FACILITY_LOCAL2,
OpenPOWER on IntegriCloud