$OpenBSD: patch-psc_c,v 1.1 2002/08/06 00:45:17 pvalchev Exp $ --- psc.c.orig Mon Nov 5 17:40:27 2001 +++ psc.c Mon Aug 5 17:47:42 2002 @@ -22,7 +22,6 @@ char *rev = "$Revision: 1.1 $"; #include #include #include -#include #include "sc.h" #define END 0 @@ -73,7 +72,7 @@ main(int argc, char **argv) register char *p; progname = argv[0]; - while ((c = getopt(argc, argv, "rfLks:R:C:n:d:SPv")) != EOF) { + while ((c = getopt(argc, argv, "rfLks:R:C:n:d:SPv")) != -1) { switch (c) { case 'r': colfirst = TRUE;