]> granicus.if.org Git - procps-ng/commitdiff
dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg
authoralbert <>
Sun, 30 Oct 2005 00:04:21 +0000 (00:04 +0000)
committeralbert <>
Sun, 30 Oct 2005 00:04:21 +0000 (00:04 +0000)
NEWS
minimal.c
ps/global.c
vmstat.c
w.c
watch.c

diff --git a/NEWS b/NEWS
index 5ea998d7c669e2b651f2311f4b93243b5ccfd581..e55270391c98b0568899ddf116edfdce702fde33 100644 (file)
--- 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
index ef53f1d39da8b50352500a6aeddbc1f7e1a24635..a38e4c79a333f75679888a1ffafa373dd41a6170 100644 (file)
--- a/minimal.c
+++ b/minimal.c
@@ -258,6 +258,7 @@ static void parse_bsd_option(void){
 }
 
 #if 0
+#include <termios.h>
 /* not used yet */
 static void choose_dimensions(void){
   struct winsize ws;
index b54f4eb47481639d9214677d3455d64bb7dce95f..0b3bc5b484636dfa7fa2eba34875061692cb4a0a 100644 (file)
@@ -9,6 +9,7 @@
  * GNU Library General Public License for more details.
  */                                 
 #include <stdlib.h>
+#include <termios.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
index 8ae8cd85a2449e629597bbc4f89895ae668d64fb..2bbe0241e5768f15209c014703725ee52827db40 100644 (file)
--- a/vmstat.c
+++ b/vmstat.c
@@ -19,6 +19,7 @@
 #include <assert.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <termios.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
diff --git a/w.c b/w.c
index 7fddd1d879329c6ef4fad4d5c9540e39c4dc184a..6daa0589386a85385bb130f8b71303d8e5b2428d 100644 (file)
--- a/w.c
+++ b/w.c
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <utmp.h>
 #include <locale.h>
+#include <termios.h>
 
 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 18ded5e5d60be7e29203ce72186a187760e35a38..67f9da1a1259207876bce7fa857b9fe047493afb 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -22,6 +22,7 @@
 #include <sys/ioctl.h>
 #include <time.h>
 #include <unistd.h>
+#include <termios.h>
 #include <locale.h>
 #include "proc/procps.h"