From 7767733812cda851ae679a0b2ee8f5fef47c8e33 Mon Sep 17 00:00:00 2001 From: albert <> Date: Sun, 30 Oct 2005 00:04:21 +0000 Subject: [PATCH] dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg --- NEWS | 3 ++- minimal.c | 1 + ps/global.c | 1 + vmstat.c | 1 + w.c | 1 + watch.c | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5ea998d7..e5527039 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ procps-3.2.5 --> procps-3.2.6 -top can do per-task display -- thanks John Blackwood rh114012 +dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg +top: can do per-task display -- thanks John Blackwood rh114012 more MIPS crud -- thanks Jim Gifford and Ryan Oliver begin prep for setuid top: fix %CPU max on 2..9 CPU SMP -- thanks Ga*tan LEURENT diff --git a/minimal.c b/minimal.c index ef53f1d3..a38e4c79 100644 --- a/minimal.c +++ b/minimal.c @@ -258,6 +258,7 @@ static void parse_bsd_option(void){ } #if 0 +#include /* not used yet */ static void choose_dimensions(void){ struct winsize ws; diff --git a/ps/global.c b/ps/global.c index b54f4eb4..0b3bc5b4 100644 --- a/ps/global.c +++ b/ps/global.c @@ -9,6 +9,7 @@ * GNU Library General Public License for more details. */ #include +#include #include #include #include diff --git a/vmstat.c b/vmstat.c index 8ae8cd85..2bbe0241 100644 --- a/vmstat.c +++ b/vmstat.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/w.c b/w.c index 7fddd1d8..6daa0589 100644 --- a/w.c +++ b/w.c @@ -27,6 +27,7 @@ #include #include #include +#include static int ignoreuser = 0; /* for '-u' */ static proc_t **procs; /* our snapshot of the process table */ diff --git a/watch.c b/watch.c index 18ded5e5..67f9da1a 100644 --- a/watch.c +++ b/watch.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "proc/procps.h"