From: Jeff Trawick Date: Fri, 12 Oct 2012 20:22:33 +0000 (+0000) Subject: follow-up to r1389481: find/use getloadavg() prototype on Solaris X-Git-Tag: 2.5.0-alpha~6203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af3f1413095a45a2a7878cb37944dc14c6826593;p=apache follow-up to r1389481: find/use getloadavg() prototype on Solaris git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1397716 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 3496c9212e..7e62596fcd 100644 --- a/configure.in +++ b/configure.in @@ -449,7 +449,8 @@ strings.h \ sys/prctl.h \ sys/processor.h \ sys/sem.h \ -sys/sdt.h +sys/sdt.h \ +sys/loadavg.h ) AC_HEADER_SYS_WAIT diff --git a/server/util.c b/server/util.c index 36f9a52b9b..36c2784091 100644 --- a/server/util.c +++ b/server/util.c @@ -62,6 +62,9 @@ #ifdef HAVE_GRP_H #include #endif +#ifdef HAVE_SYS_LOADAVG_H +#include +#endif #include "ap_mpm.h"