Gets rid of lame warnings against latest httpd-2.0 and APR.
-- justin

Index: webapp/apache-2.0/mod_webapp.c
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c,v
retrieving revision 1.6
diff -u -r1.6 mod_webapp.c
--- webapp/apache-2.0/mod_webapp.c      2001/11/01 22:20:51     1.6
+++ webapp/apache-2.0/mod_webapp.c      2001/12/05 08:14:13
@@ -70,6 +70,7 @@
 #include <util_script.h>
 #include <wa.h>
 #include <apr_tables.h>
+#include <apr_lib.h>
 
 /* ************************************************************************* */
 /* GENERIC DECLARATIONS                                                      */
@@ -477,7 +478,7 @@
 
     /* Copy headers into webapp request structure */
     if (r->headers_in!=NULL) {
-        apr_array_header_t *arr=apr_table_elts(r->headers_in);
+        const apr_array_header_t *arr=apr_table_elts(r->headers_in);
         apr_table_entry_t *ele=(apr_table_entry_t *)arr->elts;
         int x=0;
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to