From 9de54350bc4893079ecbfb7a0b3fb73a53de55f4 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 12 Oct 2012 20:22:33 +0000 Subject: [PATCH] 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 --- configure.in | 3 ++- server/util.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 3496c9212e3..7e62596fcd4 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 36f9a52b9bb..36c27840914 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" -- 2.47.3