summaryrefslogtreecommitdiff
path: root/bin/stty/key.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-03-23 14:52:43 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-03-23 14:52:43 +0000
commite4c85e46c603d0c49c75020156eecc3b5db53ada (patch)
tree74dac2898a546779519407dad1317c3e1de0e6dc /bin/stty/key.c
parentece5130571f5f830f14ff91df13d6fd290b4fa6e (diff)
header cleanup
from Edgar Pettijohn, with a correction from deraadt@
Diffstat (limited to 'bin/stty/key.c')
-rw-r--r--bin/stty/key.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 3cae63d5c7a..92af19f9006 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.16 2015/11/20 15:57:39 deraadt Exp $ */
+/* $OpenBSD: key.c,v 1.17 2016/03/23 14:52:42 mmcc Exp $ */
/* $NetBSD: key.c,v 1.11 1995/09/07 06:57:11 jtc Exp $ */
/*-
@@ -31,13 +31,15 @@
*/
#include <sys/types.h>
+#include <sys/ioctl.h>
#include <err.h>
#include <errno.h>
-#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
+#include <termios.h>
#include "stty.h"
#include "extern.h"