Hi, this patch fixes compilation on Win32 for me since older SDK has no unistd.h; and btw. I was also able to compile without unistd.h for NetWare target without warnings about missing prototypes, so maybe its obsolete at all....
--- mod_log_forensic.c.orig Sat Feb 21 18:15:20 2004 +++ mod_log_forensic.c Tue Apr 20 03:16:42 2004 @@ -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; to avoid another warning an entry in BaseAddr.ref would be fine too.... and btw. mod_version also has no entry yet; it should either get one, or the linker option should be removed to kill the warming. --- BaseAddr.ref.orig Sat Feb 08 00:14:15 2003 +++ BaseAddr.ref Tue Apr 20 03:06:44 2004 @@ -64,3 +64,5 @@ util_ldap.so 0x6FAD0000 0x00010000 mod_auth_ldap.so 0x6FAC0000 0x00010000 mod_ident.so 0x6FAB0000 0x00010000 +mod_log_forensic.so 0x6FAA0000 0x00010000 + Guenter.
mod_log_forensic.c.diff
Description: Binary data
BaseAddr.ref.diff
Description: Binary data