summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-11-29 13:51:06 +1100
committerDamien Miller <djm@mindrot.org>2000-11-29 13:51:06 +1100
commit6dbfef63559c7ac29aa7a3fe27a12d814fbd0e83 (patch)
treeee88fd5735db038026558924022c21dacec5d1ff /ssh.h
parenta19cf47b0fa5cd16c1e471792109ce06023c9757 (diff)
- (djm) Add Redhat RPM patch for AUTHPRIV SyslogFacility
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh.h b/ssh.h
index bb103fe4..2c2afd5a 100644
--- a/ssh.h
+++ b/ssh.h
@@ -20,6 +20,7 @@
#include <netinet/in.h> /* For struct sockaddr_in */
#include <pwd.h> /* For struct pw */
#include <stdarg.h> /* For va_list */
+#include <syslog.h> /* For LOG_AUTH and friends */
#include <sys/socket.h> /* For struct sockaddr_storage */
#include "fake-socket.h" /* For struct sockaddr_storage */
#ifdef HAVE_SYS_SELECT_H
@@ -427,6 +428,9 @@ 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,