summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-15 00:48:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-15 00:48:11 +0000
commit5987b29cd61d146aaa789012cc34ddeffd6a0c21 (patch)
tree857fea19bbc43d425af83bd61070f5e1b00bc02c /sbin
parent1e5767e89065fd625c504994bd6a50320225fe95 (diff)
I bet the reference to <sys/ttycom.h> near the ldisc list in tty(4)
led this program and the associated manual pages to including that file directly, rather than the canonical include path of <sys/ioctl.h> discussed with millert
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ldattach/ldattach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ldattach/ldattach.c b/sbin/ldattach/ldattach.c
index 7d10f7066b3..43045550d22 100644
--- a/sbin/ldattach/ldattach.c
+++ b/sbin/ldattach/ldattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldattach.c,v 1.15 2014/08/10 02:09:35 guenther Exp $ */
+/* $OpenBSD: ldattach.c,v 1.16 2015/01/15 00:48:10 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -27,7 +27,7 @@
#include <sys/limits.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <sys/ttycom.h>
+#include <sys/ioctl.h>
#include <err.h>
#include <errno.h>