1 --- procps-3.2.2/watch.c.misc 2004-07-10 14:58:26.000000000 -0400
2 +++ procps-3.2.2/watch.c 2004-07-19 10:54:05.905274300 -0400
6 #include "proc/procps.h"
7 +#include <sys/types.h>
11 static struct option longopts[] = {
12 {"differences", optional_argument, 0, 'd'},
14 main(int argc, char *argv[])
18 int option_differences = 0,
19 option_differences_cumulative = 0,
20 option_help = 0, option_version = 0;
22 mvaddstr(0, width - tsl + 1, ts);
27 + fd=open("/dev/null",O_RDWR);
33 if (!(p = popen(command, "r"))) {