Define LOG_AUTHPRIV if syslog.h does not
Showing
1 changed file
with
5 additions
and
1 deletions
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 2007, 2008 Free Software Foundation, Inc. | 2 | Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. |
3 | 3 | ||
4 | This program is free software; you can redistribute it and/or modify it | 4 | This program is free software; you can redistribute it and/or modify it |
5 | under the terms of the GNU General Public License as published by the | 5 | under the terms of the GNU General Public License as published by the |
... | @@ -23,6 +23,10 @@ | ... | @@ -23,6 +23,10 @@ |
23 | #include <mailutils/kwd.h> | 23 | #include <mailutils/kwd.h> |
24 | #include <mailutils/syslog.h> | 24 | #include <mailutils/syslog.h> |
25 | 25 | ||
26 | #ifndef LOG_AUTHPRIV | ||
27 | # define LOG_AUTHPRIV | ||
28 | #endif | ||
29 | |||
26 | static mu_kwd_t kw_facility[] = { | 30 | static mu_kwd_t kw_facility[] = { |
27 | { "USER", LOG_USER }, | 31 | { "USER", LOG_USER }, |
28 | { "DAEMON", LOG_DAEMON }, | 32 | { "DAEMON", LOG_DAEMON }, | ... | ... |
-
Please register or sign in to post a comment