diff options
Diffstat (limited to 'contrib/top/machine.h')
-rw-r--r-- | contrib/top/machine.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/top/machine.h b/contrib/top/machine.h index 4f121a7..0a356a4 100644 --- a/contrib/top/machine.h +++ b/contrib/top/machine.h @@ -21,12 +21,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; |