dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg

This commit is contained in:
albert 2005-10-30 00:04:21 +00:00
parent 6a304370f8
commit 7767733812
6 changed files with 7 additions and 1 deletions

3
NEWS
View File

@ -1,6 +1,7 @@
procps-3.2.5 --> procps-3.2.6 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 more MIPS crud -- thanks Jim Gifford and Ryan Oliver
begin prep for setuid begin prep for setuid
top: fix %CPU max on 2..9 CPU SMP -- thanks Ga*tan LEURENT top: fix %CPU max on 2..9 CPU SMP -- thanks Ga*tan LEURENT

View File

@ -258,6 +258,7 @@ static void parse_bsd_option(void){
} }
#if 0 #if 0
#include <termios.h>
/* not used yet */ /* not used yet */
static void choose_dimensions(void){ static void choose_dimensions(void){
struct winsize ws; struct winsize ws;

View File

@ -9,6 +9,7 @@
* GNU Library General Public License for more details. * GNU Library General Public License for more details.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <termios.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -19,6 +19,7 @@
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
#include <limits.h> #include <limits.h>
#include <termios.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

1
w.c
View File

@ -27,6 +27,7 @@
#include <unistd.h> #include <unistd.h>
#include <utmp.h> #include <utmp.h>
#include <locale.h> #include <locale.h>
#include <termios.h>
static int ignoreuser = 0; /* for '-u' */ static int ignoreuser = 0; /* for '-u' */
static proc_t **procs; /* our snapshot of the process table */ static proc_t **procs; /* our snapshot of the process table */

View File

@ -22,6 +22,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include <termios.h>
#include <locale.h> #include <locale.h>
#include "proc/procps.h" #include "proc/procps.h"