From: Jeff Trawick Date: Wed, 5 Apr 2000 02:01:09 +0000 (+0000) Subject: if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to X-Git-Tag: apache-doc-split-01~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a55b8a88a8cf690b3fcad4f1cc01bec269cfda;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/include/http_log.h b/include/http_log.h index 1366c8ee0fe..ab29b62ab58 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -68,6 +68,10 @@ extern "C" { #ifdef HAVE_SYSLOG #include +#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 */