summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-03 00:20:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-03 00:20:04 +0000
commit262efc0cdac514606dbe04ff69f3a1ef4d1f9521 (patch)
tree9fdc4d9e6647d21cca2284480e5c728016574334
parent25f2df9dec63d8c61018a6a2953b5b5ddbf437b6 (diff)
no need to use sgttyb.h
-rw-r--r--usr.sbin/rmt/rmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rmt/rmt.c b/usr.sbin/rmt/rmt.c
index 6da32686053..7e457121f71 100644
--- a/usr.sbin/rmt/rmt.c
+++ b/usr.sbin/rmt/rmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmt.c,v 1.13 2009/10/27 23:59:54 deraadt Exp $ */
+/* $OpenBSD: rmt.c,v 1.14 2013/12/03 00:20:03 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -32,15 +32,15 @@
/*
* rmt
*/
-#include <stdio.h>
-#include <sgtty.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/file.h>
#include <sys/stat.h>
+#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/param.h>
#include <unistd.h>
+#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>