top: eliminated the use of that 'procps.h' header file

That prior patch set the stage for eliminating the use
of that 'procps.h' header, while retaining support for
a ./configure -DXTRA_PROCPS_DEBUG' during development.

This commit just eliminates top's use of 'procps.h' in
favor of a separate include for needed newlib headers.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-09-01 00:00:00 -05:00 committed by Craig Small
parent fab37662ef
commit a6dfc2382e

View File

@ -48,7 +48,12 @@
#include "../include/signals.h"
#include "../include/nls.h"
#include <proc/procps.h>
#include <proc/meminfo.h>
#include <proc/pids.h>
#include <proc/stat.h>
#include <proc/sysinfo.h>
#include <proc/uptime.h>
#include <proc/version.h>
#include "top.h"
#include "top_nls.h"