]> granicus.if.org Git - apache/commitdiff
fix build on systems without unistd.h
authorAndré Malo <nd@apache.org>
Mon, 26 Apr 2004 18:58:59 +0000 (18:58 +0000)
committerAndré Malo <nd@apache.org>
Mon, 26 Apr 2004 18:58:59 +0000 (18:58 +0000)
Submitted by: Guenter Knauf <eflash gmx.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103530 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_forensic.c

index 649d52cf11b5952d4cfc29758e821c86efdcd070..34387d712792e8a0472449c0c4d1a2663d0de4b2 100644 (file)
 #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;