From: Jim Jagielski Date: Fri, 7 Sep 2007 11:58:38 +0000 (+0000) Subject: semi-revert 573264. It is totally bogus that we X-Git-Tag: 2.3.0~1450 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aee21f5b6b8f3b107fee4421fc984a940a542fd;p=thirdparty%2Fapache%2Fhttpd.git semi-revert 573264. It is totally bogus that we need to do this, but until we create mod_proxy_structs.h which can then be included by mod_proxy.h as well as scoreboard.h, we'll make do. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573555 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/scoreboard.h b/include/scoreboard.h index 5ab8944e0b5..1e934cd29cf 100644 --- a/include/scoreboard.h +++ b/include/scoreboard.h @@ -40,9 +40,6 @@ extern "C" { #include "apr_shm.h" #include "apr_optional.h" -/* for lb_score */ -#include "../modules/proxy/mod_proxy.h" - /* Scoreboard file, if there is one */ #ifndef DEFAULT_SCOREBOARD #define DEFAULT_SCOREBOARD "logs/apache_runtime_status" @@ -145,7 +142,11 @@ struct process_score { }; /* stuff which is lb specific */ -typedef struct proxy_worker_stat lb_score; +typedef struct lb_score lb_score; +struct lb_score { + /* TODO: sync this with proxy_worker_stat */ + unsigned char data[256]; +}; /* Scoreboard is now in 'local' memory, since it isn't updated once created, * even in forked architectures. Child created-processes (non-fork) will