httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: Missing include in simple_run.c
Date Fri, 02 Jan 2009 14:47:36 GMT


On 01/02/2009 03:04 PM, Rainer Jung wrote:
> When compiling trunk, I get
> 
> simple_run.c:242: warning: implicit declaration of function
> 'ap_run_drop_privileges'
> 
> I can fix it with the following patch:
> 
> Index: server/mpm/simple/simple_run.c
> ===================================================================
> --- server/mpm/simple/simple_run.c      (revision 730683)
> +++ server/mpm/simple/simple_run.c      (working copy)
> @@ -28,6 +28,7 @@
> 
>  #include "ap_listen.h"
>  #include "mpm.h"
> +#include "mpm_common.h"
> 
>  /**
>   * Create Timers.
> 
> I'm not sure though, whether that's the best way, or you want to move
> the symbol to another include file instead.

+1, go for it and patch it. The other MPM's include it as well and use
it from there.

Regards

RĂ¼diger


Mime
View raw message