]> granicus.if.org Git - apache/commitdiff
follow-up to r1389481: find/use getloadavg() prototype on Solaris
authorJeff Trawick <trawick@apache.org>
Fri, 12 Oct 2012 20:22:33 +0000 (20:22 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 12 Oct 2012 20:22:33 +0000 (20:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1397716 13f79535-47bb-0310-9956-ffa450edef68

configure.in
server/util.c

index 3496c9212e331c11d402db89bc7a07055ee2368a..7e62596fcd4dd171125b87753f4399d34d399e7c 100644 (file)
@@ -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
 
index 36f9a52b9bbaf2298cc6d3d49963c697c26fd95b..36c278409142e1fee5963315f7d0ad4068a4a082 100644 (file)
@@ -62,6 +62,9 @@
 #ifdef HAVE_GRP_H
 #include <grp.h>
 #endif
+#ifdef HAVE_SYS_LOADAVG_H
+#include <sys/loadavg.h>
+#endif
 
 #include "ap_mpm.h"