diff options
Diffstat (limited to 'usr.sbin/pcvt/ispcvt')
-rw-r--r-- | usr.sbin/pcvt/ispcvt/ispcvt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.c b/usr.sbin/pcvt/ispcvt/ispcvt.c index d760337..40979ca 100644 --- a/usr.sbin/pcvt/ispcvt/ispcvt.c +++ b/usr.sbin/pcvt/ispcvt/ispcvt.c @@ -39,6 +39,7 @@ #include <stdio.h> #include <err.h> #include <fcntl.h> +#include <unistd.h> #include <machine/pcvt_ioctl.h> #define DEFAULTFD 0 @@ -47,10 +48,6 @@ main(argc,argv) int argc; char *argv[]; { - extern int optind; - extern int opterr; - extern char *optarg; - struct pcvtid pcvtid; struct pcvtinfo pcvtinfo; int c; |