From 8fffa182c3fc541965eacf7d9679cbdb12c7cc16 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 19 Apr 2000 11:21:37 +0000 Subject: [PATCH] Revert HAVE_GETLOADAVG changes. --- src/s/bsd386.h | 2 ++ src/s/freebsd.h | 1 + src/s/gnu.h | 5 +++++ src/s/netbsd.h | 1 + 4 files changed, 9 insertions(+) diff --git a/src/s/bsd386.h b/src/s/bsd386.h index 992c2f69c3b..77e30d04bfa 100644 --- a/src/s/bsd386.h +++ b/src/s/bsd386.h @@ -18,6 +18,8 @@ #define LIB_X11_LIB -L/usr/X11/lib -lX11 #define LIBS_SYSTEM -lutil -lkvm -lcompat +#define HAVE_GETLOADAVG + #undef BSD_PGRPS /* System uses OXTABS instead of the expected TAB3. diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 0e1e961f9d4..07c736dd371 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -99,6 +99,7 @@ #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_1 -L/usr/local/lib #define HAVE_WAIT_HEADER +#define HAVE_GETLOADAVG 1 #if 0 #define HAVE_GETPAGESIZE /* configure now puts this in config.h */ #endif diff --git a/src/s/gnu.h b/src/s/gnu.h index ecd0e7a9ff8..6a38dc6f588 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h @@ -28,6 +28,11 @@ Boston, MA 02111-1307, USA. */ #undef SYSTEM_TYPE #define SYSTEM_TYPE "gnu" +#undef NLIST_STRUCT + +/* XXX should getloadavg be in libc? Should we have a libutil? +#define HAVE_GETLOADAVG */ +#undef NLIST_STRUCT #undef KERNEL_FILE #undef LDAV_SYMBOL diff --git a/src/s/netbsd.h b/src/s/netbsd.h index 196a0e86e9a..1adb58736c4 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h @@ -12,6 +12,7 @@ #undef KERNEL_FILE #undef LDAV_SYMBOL +#define HAVE_GETLOADAVG 1 #define HAVE_UNION_WAIT -- 2.39.5