summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e4da01a..2798f57 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;
OpenPOWER on IntegriCloud