Commit 47b3b9bc 47b3b9bc2a40c03e9bbf73b33592a9538fed34a0 by Sergey Poznyakoff

Define LOG_AUTHPRIV if syslog.h does not

1 parent a4e1e5e8
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 },
......