aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-12-11 21:09:29 +0000
committerWarner Losh <imp@FreeBSD.org>2000-12-11 21:09:29 +0000
commitf4d022175f40c8ddb7a3ebd0465839a5e2e623bf (patch)
tree28551b83b810e0bdd6eb2adf763784aadb05fab5 /usr.sbin
parent4323578d7348375f7c8018841a92ba7e7b92a22c (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pcvt/cursor/cursor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/cursor/cursor.c b/usr.sbin/pcvt/cursor/cursor.c
index e4da01a9be1f..2798f57267dc 100644
--- a/usr.sbin/pcvt/cursor/cursor.c
+++ b/usr.sbin/pcvt/cursor/cursor.c
@@ -48,6 +48,7 @@ static char *id =
#include <fcntl.h>
#include <sys/stat.h>
#include <machine/pcvt_ioctl.h>
+#include <unistd.h>
#include <paths.h>
#define DEFAULTFD 0
@@ -56,10 +57,6 @@ main(argc,argv)
int argc;
char *argv[];
{
- extern int optind;
- extern int opterr;
- extern char *optarg;
-
struct cursorshape cursorshape;
int fd;
int c;