summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:00:59 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:00:59 +0000
commita16ddc2846315096f139acf53487df9761e9177a (patch)
treeba97e608c62cce163385b5f2aa77f847f96cff13 /sbin/wsconsctl
parent4349d22016903dc6037491064874b2cf95aa1641 (diff)
add missing includes
ok deraadt@ millert@ tedu@
Diffstat (limited to 'sbin/wsconsctl')
-rw-r--r--sbin/wsconsctl/display.c3
-rw-r--r--sbin/wsconsctl/keysym.c3
-rw-r--r--sbin/wsconsctl/wsconsctl.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sbin/wsconsctl/display.c b/sbin/wsconsctl/display.c
index d356431033f..d0eb4a3b01d 100644
--- a/sbin/wsconsctl/display.c
+++ b/sbin/wsconsctl/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.8 2002/12/17 07:10:25 mickey Exp $ */
+/* $OpenBSD: display.c,v 1.9 2003/07/10 00:00:58 david Exp $ */
/* $NetBSD: display.c,v 1.1 1998/12/28 14:01:16 hannken Exp $ */
/*-
@@ -42,6 +42,7 @@
#include <dev/wscons/wsconsio.h>
#include <errno.h>
#include <err.h>
+#include <string.h>
#include "wsconsctl.h"
int dpytype;
diff --git a/sbin/wsconsctl/keysym.c b/sbin/wsconsctl/keysym.c
index 7d3e03b4b1e..42af564def4 100644
--- a/sbin/wsconsctl/keysym.c
+++ b/sbin/wsconsctl/keysym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keysym.c,v 1.3 2002/12/11 18:27:19 deraadt Exp $ */
+/* $OpenBSD: keysym.c,v 1.4 2003/07/10 00:00:58 david Exp $ */
/* $NetBSD: keysym.c,v 1.3 1999/02/08 11:08:23 hannken Exp $ */
/*-
@@ -40,6 +40,7 @@
#include <dev/wscons/wsksymdef.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "keysym.h"
#include "wsconsctl.h"
diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c
index bd146e1672e..9917cc79909 100644
--- a/sbin/wsconsctl/wsconsctl.c
+++ b/sbin/wsconsctl/wsconsctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsctl.c,v 1.12 2002/12/11 16:58:51 deraadt Exp $ */
+/* $OpenBSD: wsconsctl.c,v 1.13 2003/07/10 00:00:58 david Exp $ */
/* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */
/*-
@@ -41,6 +41,7 @@
#include <err.h>
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "wsconsctl.h"