changeset 17337:24e9e8d0080e

Last-minute changed for 3.75.1
author Paul D. Smith <psmith@BayNetworks.com>
date Mon, 07 Apr 1997 18:02:44 +0000
parents e7f187613585
children a76c4ee8f2e7
files src/getloadavg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/getloadavg.c	Mon Apr 07 17:34:05 1997 +0000
+++ b/src/getloadavg.c	Mon Apr 07 18:02:44 1997 +0000
@@ -541,7 +541,7 @@
   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 @@
     }
 
   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.  */