You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/26 20:58:59 UTC
cvs commit: httpd-2.0/modules/loggers mod_log_forensic.c
nd 2004/04/26 11:58:59
Modified: modules/loggers mod_log_forensic.c
Log:
fix build on systems without unistd.h
Submitted by: Guenter Knauf <eflash gmx.net>
Revision Changes Path
1.19 +3 -1 httpd-2.0/modules/loggers/mod_log_forensic.c
Index: mod_log_forensic.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_forensic.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -u -r1.18 -r1.19
--- mod_log_forensic.c 21 Feb 2004 17:09:20 -0000 1.18
+++ mod_log_forensic.c 26 Apr 2004 18:58:59 -0000 1.19
@@ -30,9 +30,11 @@
#include "http_log.h"
#include "apr_strings.h"
#include "apr_atomic.h"
-#include <unistd.h>
#include "http_protocol.h"
#include "test_char.h"
+#if APR_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
module AP_MODULE_DECLARE_DATA log_forensic_module;