summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 5cf0b99..7f939d2 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -811,7 +811,7 @@ getloadavg (loadavg, nelem)
#ifndef SUNOS_5
if (
-#ifndef _AIX
+#if !(defined (_AIX) && !defined (ps2))
nlist (KERNEL_FILE, nl)
#else /* _AIX */
knlist (nl, 1, sizeof (nl[0]))