httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Missing include in simple_run.c
Date Fri, 02 Jan 2009 14:04:39 GMT
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.

Regards,

Rainer


Mime
View raw message