Re: [PATCH] mod_log_forensic, BaseAddr.ref

2004-04-27 Thread Guenter Knauf
 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
archived as BZ #28572:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28572

 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.
archived as BZ #28575:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28575

Guenter.





Re: [PATCH] mod_log_forensic, BaseAddr.ref

2004-04-27 Thread Guenter Knauf
Arghh!
sorry, hit the wrong button -- this should go deleted instead of sended!

 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
 archived as BZ #28572:
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28572

 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.
 archived as BZ #28575:
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28575

 Guenter.






[PATCH] mod_log_forensic, BaseAddr.ref

2004-04-21 Thread Guenter Knauf
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.refTue Apr 20 03:06:44 2004
@@ -64,3 +64,5 @@
 util_ldap.so0x6FAD0x0001
 mod_auth_ldap.so0x6FAC0x0001
 mod_ident.so0x6FAB0x0001
+mod_log_forensic.so 0x6FAA0x0001
+


Guenter.



mod_log_forensic.c.diff
Description: Binary data


BaseAddr.ref.diff
Description: Binary data