diff --git a/src/s/sol2.h b/src/s/sol2.h index cfb7427cf06..79b0f42946c 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -24,5 +24,9 @@ #endif /* GCC */ #undef LIBS_SYSTEM -#define LIBS_SYSTEM -lsocket -lnsl -lkstat -lkvm -lelf +#define LIBS_SYSTEM -lsocket -lnsl -lkstat #define HAVE_VFORK + +/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. + ghazi@caip.rutgers.edu, 7/21/97. */ +#define HAVE_LIBKSTAT