mturk       2005/02/15 01:21:42

  Modified:    jk/native/common jk_global.h
  Log:
  Include apr_string and apr_lib if HAVE_APR is defined.
  Although APR is not needed, we can use pool independent functions
  if present, like apr_snprintf, etc.
  
  Revision  Changes    Path
  1.41      +6 -3      jakarta-tomcat-connectors/jk/native/common/jk_global.h
  
  Index: jk_global.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_global.h,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- jk_global.h       12 Feb 2005 11:33:00 -0000      1.40
  +++ jk_global.h       15 Feb 2005 09:21:42 -0000      1.41
  @@ -47,10 +47,13 @@
   #include "ap_config.h"
   #endif
   
  +#ifdef HAVE_APR
  +#include "apr_lib.h"
  +#include "apr_strings.h"
  +#endif
  +
   #ifdef AS400
   #include "ap_config.h"
  -#include "apr_strings.h"
  -#include "apr_lib.h"
   extern char *strdup(const char *str);
   #endif
   
  
  
  

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

Reply via email to