summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@openbsd.org>2015-12-22 20:31:51 +0000
committersf <sf@openbsd.org>2015-12-22 20:31:51 +0000
commit6dc39e210088f6c97a519c1387683dd1fbe5ef4e (patch)
treec966669928b902c95581d53f745679cc0ed5f929
parentremove NULL-checks before free() (diff)
downloadwireguard-openbsd-6dc39e210088f6c97a519c1387683dd1fbe5ef4e.tar.xz
wireguard-openbsd-6dc39e210088f6c97a519c1387683dd1fbe5ef4e.zip
Re-add config includes
These got lost in previous commit. This broke ppp, nmea, msts, endrun. Found the hard way by David Coppa
-rw-r--r--sys/kern/tty_conf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c
index 795bf7904f6..3ce329902c3 100644
--- a/sys/kern/tty_conf.c
+++ b/sys/kern/tty_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_conf.c,v 1.22 2015/12/21 21:49:02 sf Exp $ */
+/* $OpenBSD: tty_conf.c,v 1.23 2015/12/22 20:31:51 sf Exp $ */
/* $NetBSD: tty_conf.c,v 1.18 1996/05/19 17:17:55 jonathan Exp $ */
/*-
@@ -42,6 +42,11 @@
#include <sys/tty.h>
#include <sys/conf.h>
+#include "ppp.h"
+#include "nmea.h"
+#include "msts.h"
+#include "endrun.h"
+
#define ttynodisc ((int (*)(dev_t, struct tty *, struct proc *))enodev)
#define ttyerrclose ((int (*)(struct tty *, int flags, struct proc *))enodev)
#define ttyerrio ((int (*)(struct tty *, struct uio *, int))enodev)