From: William A. Rowe Jr Date: Wed, 12 May 2004 20:08:36 +0000 (+0000) Subject: Implicit (third) +1, backport trivial fix for missing unistd.h X-Git-Tag: 2.0.50~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=925fbb6b7dfde8766deaca218fc3350b4cb18e2e;p=thirdparty%2Fapache%2Fhttpd.git Implicit (third) +1, backport trivial fix for missing unistd.h rev 1.19 of mod_log_forensic Contributor: Gunter Verified by: trawick, nd, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103666 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index 18c38b2e43d..b87a0a1bee6 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2004/05/07 21:49:34 $] +Last modified at [$Date: 2004/05/12 20:08:35 $] Release: @@ -87,10 +87,6 @@ PATCHES TO BACKPORT FROM 2.1 server/mpm/winnt/child.c: r1.36 +1: ake, trawick - *) mod_log_forensic: Fix build on systems without unistd.h. PR 28572 - modules/loggers/mod_log_forensic.c: r1.19 - +1: nd, trawick - *) mod_actions: Regression from 1.3: the file referred to must exist. Solve this by introducing the "virtual" modifier to the Action directive. PR 28553. diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index a40810c03da..5d35aded903 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -30,9 +30,11 @@ #include "http_log.h" #include "apr_strings.h" #include "apr_atomic.h" -#include #include "http_protocol.h" #include "test_char.h" +#if APR_HAVE_UNISTD_H +#include +#endif module AP_MODULE_DECLARE_DATA log_forensic_module;