You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by or...@apache.org on 2001/06/09 11:08:26 UTC

cvs commit: apr-util/xml/expat/lib xmlparse.c

orlikowski    01/06/09 02:08:26

  Modified:    xml/expat configure.in
               xml/expat/lib xmlparse.c
  Log:
  Clean up a compiler warning on Solaris.
  Submitted by: Dale Ghent <da...@elemental.org>
  
  Revision  Changes    Path
  1.5       +1 -1      apr-util/xml/expat/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr-util/xml/expat/configure.in,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- configure.in	2001/04/15 04:28:16	1.4
  +++ configure.in	2001/06/09 09:08:25	1.5
  @@ -76,7 +76,7 @@
   
   dnl Checks for header files.
   AC_HEADER_STDC
  -AC_CHECK_HEADERS(fcntl.h unistd.h)
  +AC_CHECK_HEADERS(fcntl.h unistd.h string.h)
   
   dnl Checks for typedefs, structures, and compiler characteristics.
   dnl check for endianness
  
  
  
  1.3       +5 -1      apr-util/xml/expat/lib/xmlparse.c
  
  Index: xmlparse.c
  ===================================================================
  RCS file: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xmlparse.c	2001/03/29 14:09:02	1.2
  +++ xmlparse.c	2001/06/09 09:08:26	1.3
  @@ -4,7 +4,7 @@
   */
   
   static char RCSId[]
  -  = "$Header: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v 1.2 2001/03/29 14:09:02 dreid Exp $";
  +  = "$Header: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v 1.3 2001/06/09 09:08:26 orlikowski Exp $";
   
   #ifdef COMPILED_FROM_DSP
   #  include "winconfig.h"
  @@ -13,6 +13,10 @@
   #  undef XMLPARSEAPI
   #else
   #include <config.h>
  +
  +#ifdef HAVE_STRING_H
  +#  include <string.h>
  +#endif
   
   #ifdef __declspec
   #  define XMLPARSEAPI __declspec(dllexport)