You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2012/10/12 22:22:33 UTC
svn commit: r1397716 - in /httpd/httpd/trunk: configure.in server/util.c
Author: trawick
Date: Fri Oct 12 20:22:33 2012
New Revision: 1397716
URL: http://svn.apache.org/viewvc?rev=1397716&view=rev
Log:
follow-up to r1389481: find/use getloadavg() prototype on Solaris
Modified:
httpd/httpd/trunk/configure.in
httpd/httpd/trunk/server/util.c
Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1397716&r1=1397715&r2=1397716&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Fri Oct 12 20:22:33 2012
@@ -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
Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1397716&r1=1397715&r2=1397716&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Fri Oct 12 20:22:33 2012
@@ -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"