From 6b2e9efd125eb597ffadf49980618f78f4fc0570 Mon Sep 17 00:00:00 2001 From: "Paul D. Smith" Date: Mon, 7 Apr 1997 18:02:44 +0000 Subject: [PATCH] Last-minute changed for 3.75.1 --- src/getloadavg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getloadavg.c b/src/getloadavg.c index be589e7e139..dba7907bd77 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c @@ -541,7 +541,7 @@ getloadavg (loadavg, nelem) elem = -1; # endif -# if !defined (LDAV_DONE) && defined (SUNOS_5) +# if !defined (LDAV_DONE) && defined (HAVE_LIBKSTAT) /* Use libkstat because we don't have to be root. */ # define LDAV_DONE kstat_ctl_t *kc; @@ -586,7 +586,7 @@ getloadavg (loadavg, nelem) } kstat_close (kc); -# endif /* SUNOS_5 */ +# endif /* HAVE_LIBKSTAT */ # if !defined (LDAV_DONE) && defined (hpux) && defined (HAVE_PSTAT_GETDYNAMIC) /* Use pstat_getdynamic() because we don't have to be root. */ -- 2.39.2