]> andersk Git - openssh.git/blobdiff - log.h
- (stevesk) logintest.c: fix for systems without __progname
[openssh.git] / log.h
diff --git a/log.h b/log.h
index 786e86d72d83ee4f8cce2751234358997ce0fed6..6da5bcc0b7d7eb2c0c7f2a24b780bf2389eb6c55 100644 (file)
--- a/log.h
+++ b/log.h
 #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,
+       SYSLOG_FACILITY_AUTHPRIV,
 #endif
        SYSLOG_FACILITY_LOCAL0,
        SYSLOG_FACILITY_LOCAL1,
This page took 0.030961 seconds and 4 git commands to generate.