You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Cliff Woolley <jw...@virginia.edu> on 2002/04/20 22:49:51 UTC

Re: cvs commit: httpd-2.0/server/mpm/experimental/leader leader.c

On 20 Apr 2002 brianp@apache.org wrote:

> brianp      02/04/20 13:41:33
>
>   Modified:    server/mpm/experimental/leader leader.c
>   Log:
>   Workaround to get leader/follower compiling on recent Linuxes:
>   apr_atomic.h includes some <asm/*.h> header files that clash
>   with stdlib.h, so I've moved apr_atomic.h so that it's included
>   after all the other header files.

Cool.  An alternative workaround would be to simply include stdlib.h in
apr_atomic.h prior to including asm/*.h.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



RE: cvs commit: httpd-2.0/server/mpm/experimental/leader leader.c

Posted by Sander Striker <st...@apache.org>.
> From: Cliff Woolley [mailto:jwoolley@virginia.edu]
> Sent: 20 April 2002 22:50
> To: dev@httpd.apache.org
> Subject: Re: cvs commit: httpd-2.0/server/mpm/experimental/leader
> leader.c
> 
> 
> On 20 Apr 2002 brianp@apache.org wrote:
> 
> > brianp      02/04/20 13:41:33
> >
> >   Modified:    server/mpm/experimental/leader leader.c
> >   Log:
> >   Workaround to get leader/follower compiling on recent Linuxes:
> >   apr_atomic.h includes some <asm/*.h> header files that clash
> >   with stdlib.h, so I've moved apr_atomic.h so that it's included
> >   after all the other header files.
> 
> Cool.  An alternative workaround would be to simply include stdlib.h in
> apr_atomic.h prior to including asm/*.h.

+1.  That's a better workaround IMHO; it stays limited to apr_atomic.

Sander