All other programs were able to accommodate the change
in name from readstat.h to stat.h without modification
because they were all using that procps.h header file.
Well now top can too (providing you ignore a comment).
Signed-off-by: Jim Warner <james.warner@comcast.net>
};
// mem stack results extractor macro, where e=rel enum
#define MEM_VAL(e) Mem_stack->head[e].result.ul_int
- // --------------------------------------------- <proc/readstat.h>
+ // ------------------------------------------------- <proc/stat.h>
static struct procps_stat *Cpu_ctx;
static struct procps_jiffs_hist *Cpu_jiffs;
// ------------------------------------------------- <proc/pids.h>
#ifndef _Itop
#define _Itop
-#include <proc/pids.h>
-#include <proc/readstat.h>
+#include <proc/procps.h>
/* Defines represented in configure.ac ----------------------------- */
//#define BOOST_PERCNT /* enable extra precision for two % fields */