summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-17 19:42:15 +0000
committertedu <tedu@openbsd.org>2014-12-17 19:42:15 +0000
commit03d1830d007e3a69f3003837cde28cc1014c0218 (patch)
treeb15a7f83b9fb62057c16070cf597e43b303edc1d /sys/kern/tty.c
parentunroll loops for sha2. quite a bit faster for amd64. (diff)
downloadwireguard-openbsd-03d1830d007e3a69f3003837cde28cc1014c0218.tar.xz
wireguard-openbsd-03d1830d007e3a69f3003837cde28cc1014c0218.zip
remove lock.h from uvm_extern.h. another holdover from the simpletonlock
era. fix uvm including c files to include lock.h or atomic.h as necessary. ok deraadt
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 1dfa07edcd3..c9b8cc6adbe 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.118 2014/12/16 18:30:04 tedu Exp $ */
+/* $OpenBSD: tty.c,v 1.119 2014/12/17 19:42:15 tedu Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -49,6 +49,7 @@
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
+#include <sys/lock.h>
#include <sys/syslog.h>
#include <sys/malloc.h>
#include <sys/signalvar.h>