build-sys: Relocate library to library/
All the dependent programs needed to have their includes moved too Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
#include "strutils.h"
|
||||
#include "fileutils.h"
|
||||
|
||||
#include <proc/meminfo.h>
|
||||
#include "meminfo.h"
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX 32
|
||||
|
@ -55,8 +55,8 @@
|
||||
#include "signals.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#include <proc/misc.h>
|
||||
#include <proc/pids.h>
|
||||
#include "misc.h"
|
||||
#include "pids.h"
|
||||
|
||||
enum pids_item Items[] = {
|
||||
PIDS_ID_PID,
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "nls.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#include <proc/pids.h>
|
||||
#include "pids.h"
|
||||
|
||||
|
||||
#define grow_size(x) do { \
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "nls.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#include <proc/pids.h>
|
||||
#include "pids.h"
|
||||
|
||||
static struct pids_info *Pids_info;
|
||||
|
||||
|
@ -13,10 +13,10 @@
|
||||
#define PROCPS_PS_H
|
||||
|
||||
#include "../include/nls.h"
|
||||
#include <proc/meminfo.h>
|
||||
#include <proc/misc.h>
|
||||
#include <proc/pids.h>
|
||||
#include <proc/stat.h>
|
||||
#include "meminfo.h"
|
||||
#include "misc.h"
|
||||
#include "pids.h"
|
||||
#include "stat.h"
|
||||
|
||||
// --- <pids> interface begin ||||||||||||||||||||||||||||||||||||||||||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "../proc/misc.h"
|
||||
#include "misc.h"
|
||||
#include "../include/xalloc.h"
|
||||
|
||||
#include "common.h"
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "nls.h"
|
||||
#include "strutils.h"
|
||||
|
||||
#include <proc/slabinfo.h>
|
||||
#include "slabinfo.h"
|
||||
|
||||
#define DEFAULT_SORT SLAB_NUM_OBJS
|
||||
#define CHAINS_ALLOC 150
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "strutils.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#include <proc/misc.h>
|
||||
#include "misc.h"
|
||||
|
||||
static char *screen;
|
||||
|
||||
|
@ -51,10 +51,10 @@
|
||||
#include "../include/signals.h"
|
||||
#include "../include/nls.h"
|
||||
|
||||
#include <proc/meminfo.h>
|
||||
#include <proc/misc.h>
|
||||
#include <proc/pids.h>
|
||||
#include <proc/stat.h>
|
||||
#include "meminfo.h"
|
||||
#include "misc.h"
|
||||
#include "pids.h"
|
||||
#include "stat.h"
|
||||
|
||||
#include "top.h"
|
||||
#include "top_nls.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "fileutils.h"
|
||||
#include "nls.h"
|
||||
|
||||
#include <proc/misc.h>
|
||||
#include "misc.h"
|
||||
|
||||
static void print_uptime_since()
|
||||
{
|
||||
|
12
src/vmstat.c
12
src/vmstat.c
@ -49,12 +49,12 @@
|
||||
#include "nls.h"
|
||||
#include "strutils.h"
|
||||
|
||||
#include <proc/diskstats.h>
|
||||
#include <proc/meminfo.h>
|
||||
#include <proc/misc.h>
|
||||
#include <proc/slabinfo.h>
|
||||
#include <proc/stat.h>
|
||||
#include <proc/vmstat.h>
|
||||
#include "diskstats.h"
|
||||
#include "meminfo.h"
|
||||
#include "misc.h"
|
||||
#include "slabinfo.h"
|
||||
#include "stat.h"
|
||||
#include "vmstat.h"
|
||||
|
||||
#define UNIT_B 1
|
||||
#define UNIT_k 1000
|
||||
|
Reference in New Issue
Block a user