You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ryan Bloom <rb...@raleigh.ibm.com> on 1999/09/08 21:42:18 UTC

Re: cvs commit: apache-2.0/src/lib/apr/lib apr_pools.c


ARGH!  I really need to stop thinking one thing and doing another.  I'll
fix that ASAP.  Thanks Greg.

Ryan

On Wed, 8 Sep 1999, Greg Stein wrote:

> Should they all use HAVE_SYS_STAT_H ? And if they do, then could they
> just all go into the same #ifdef, rather than having three of them?
> 
> Cheers,
> -g
> 
> rbb@hyperreal.org wrote:
> > 
> > rbb         99/09/08 12:07:09
> > 
> >   Modified:    src/lib/apr/lib apr_pools.c
> >   Log:
> >   Protect some #includes with #ifdefs and remove one that is no longer needed.
> > 
> >   Revision  Changes    Path
> >   1.7       +6 -1      apache-2.0/src/lib/apr/lib/apr_pools.c
> > 
> >   Index: apr_pools.c
> >   ===================================================================
> >   RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_pools.c,v
> >   retrieving revision 1.6
> >   retrieving revision 1.7
> >   diff -u -r1.6 -r1.7
> >   --- apr_pools.c       1999/09/08 18:04:15     1.6
> >   +++ apr_pools.c       1999/09/08 19:07:07     1.7
> >   @@ -72,10 +72,15 @@
> >    #include "apr_pools.h"
> >    #include "apr_lib.h"
> >    #include "misc.h"
> >   +#ifdef HAVE_SYS_STAT_H
> >    #include <sys/stat.h>
> >   +#endif
> >   +#ifdef HAVE_SYS_STAT_H
> >    #include <sys/types.h>
> >   -#include <dirent.h>
> >   +#endif
> >   +#ifdef HAVE_SYS_STAT_H
> >    #include <fcntl.h>
> >   +#endif
> > 
> >    #ifdef HAVE_STDLIB_H
> >    #include <stdlib.h>
> > 
> > 
> > 
> 
> --
> Greg Stein, http://www.lyra.org/
> 

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		It's a beautiful sight to see good dancers 
			doing simple steps.  It's a painful sight to
			see beginners doing complicated patterns.