diff options
author | Jeff Trawick <trawick@apache.org> | 2000-04-05 02:01:09 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-04-05 02:01:09 +0000 |
commit | b2a55b8a88a8cf690b3fcad4f1cc01bec269cfda (patch) | |
tree | aab910072b2f3af4d5f661896368ae882d0dce8c /include | |
parent | 92cafef56bf81ab0c3077650990241087a99affe (diff) | |
download | httpd-b2a55b8a88a8cf690b3fcad4f1cc01bec269cfda.tar.gz |
if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to
the standard value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/http_log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/http_log.h b/include/http_log.h index 1366c8ee0f..ab29b62ab5 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -68,6 +68,10 @@ extern "C" { #ifdef HAVE_SYSLOG #include <syslog.h> +#ifndef LOG_PRIMASK +#define LOG_PRIMASK 7 +#endif + #define APLOG_EMERG LOG_EMERG /* system is unusable */ #define APLOG_ALERT LOG_ALERT /* action must be taken immediately */ #define APLOG_CRIT LOG_CRIT /* critical conditions */ |