summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2010-07-02 15:47:58 +0000
committerchl <chl@openbsd.org>2010-07-02 15:47:58 +0000
commit19e80d37f06d72524dee106965f90d89d2880b42 (patch)
tree5a678b0e6ca45b7b80e84c72ac7eda3a3ce35216
parenttimeout_add -> timeout_add_msec (diff)
downloadwireguard-openbsd-19e80d37f06d72524dee106965f90d89d2880b42.tar.xz
wireguard-openbsd-19e80d37f06d72524dee106965f90d89d2880b42.zip
add missing header needed by ioctl()
ok maja@
-rw-r--r--sbin/wsconsctl/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index 3b4bbb1766f..22e9746c525 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.52 2010/07/01 03:00:14 maja Exp $ */
+/* $OpenBSD: util.c,v 1.53 2010/07/02 15:47:58 chl Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -30,6 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/ioctl.h>
#include <sys/time.h>
#include <dev/wscons/wsconsio.h>
#include <dev/wscons/wsksymdef.h>