From c48987263d3f55042a1e5d0c5e8411ed21161f2d Mon Sep 17 00:00:00 2001 From: dwmalone Date: Thu, 24 Jan 2002 17:58:42 +0000 Subject: Resolve conflicts. --- contrib/top/machine.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'contrib/top/machine.h') diff --git a/contrib/top/machine.h b/contrib/top/machine.h index 0f14bf3..4f4f6af 100644 --- a/contrib/top/machine.h +++ b/contrib/top/machine.h @@ -1,4 +1,8 @@ /* + * $FreeBSD$ + */ + +/* * This file defines the interface between top and the machine-dependent * module. It is NOT machine dependent and should not need to be changed * for any specific machine. @@ -22,12 +26,18 @@ struct statics * the system_info struct is filled in by a machine dependent routine. */ +#ifdef p_active /* uw7 define macro p_active */ +#define P_ACTIVE p_pactive +#else +#define P_ACTIVE p_active +#endif + struct system_info { int last_pid; double load_avg[NUM_AVERAGES]; int p_total; - int p_active; /* number of procs considered "active" */ + int P_ACTIVE; /* number of procs considered "active" */ int *procstates; int *cpustates; int *memory; -- cgit v1.1