summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/kbd/kbd_wscons.c3
-rw-r--r--sbin/kbd/main.c3
-rw-r--r--sbin/nologin/nologin.c3
-rw-r--r--sbin/restore/interactive.c5
-rw-r--r--sbin/tunefs/tunefs.c5
-rw-r--r--sbin/wsconsctl/display.c3
-rw-r--r--sbin/wsconsctl/keysym.c3
-rw-r--r--sbin/wsconsctl/wsconsctl.c3
8 files changed, 18 insertions, 10 deletions
diff --git a/sbin/kbd/kbd_wscons.c b/sbin/kbd/kbd_wscons.c
index c600abb9e90..888744fe1e2 100644
--- a/sbin/kbd/kbd_wscons.c
+++ b/sbin/kbd/kbd_wscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd_wscons.c,v 1.14 2003/07/02 21:44:58 deraadt Exp $ */
+/* $OpenBSD: kbd_wscons.c,v 1.15 2003/07/10 00:00:57 david Exp $ */
/*
* Copyright (c) 2001 Mats O Jansson. All rights reserved.
@@ -37,6 +37,7 @@
#include <limits.h>
#include <nlist.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#define NUM_KBD 10
diff --git a/sbin/kbd/main.c b/sbin/kbd/main.c
index 9e6982a10b3..08a2b04fc5b 100644
--- a/sbin/kbd/main.c
+++ b/sbin/kbd/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.5 2002/07/03 22:32:33 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.6 2003/07/10 00:00:57 david Exp $ */
/*
* Copyright (c) 1996 Juergen Hannken-Illjes
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
extern void kbd_list(void);
extern void kbd_set(char *, int);
diff --git a/sbin/nologin/nologin.c b/sbin/nologin/nologin.c
index 602b8761b94..e8bcc9c76f0 100644
--- a/sbin/nologin/nologin.c
+++ b/sbin/nologin/nologin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nologin.c,v 1.4 2003/06/04 02:57:30 jolan Exp $ */
+/* $OpenBSD: nologin.c,v 1.5 2003/07/10 00:00:58 david Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -28,6 +28,7 @@
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sbin/restore/interactive.c b/sbin/restore/interactive.c
index 33a7b8b5b28..2e8fc86a7f0 100644
--- a/sbin/restore/interactive.c
+++ b/sbin/restore/interactive.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interactive.c,v 1.17 2003/06/02 20:06:16 millert Exp $ */
+/* $OpenBSD: interactive.c,v 1.18 2003/07/10 00:00:58 david Exp $ */
/* $NetBSD: interactive.c,v 1.10 1997/03/19 08:42:52 lukem Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)interactive.c 8.3 (Berkeley) 9/13/94";
#else
-static char rcsid[] = "$OpenBSD: interactive.c,v 1.17 2003/06/02 20:06:16 millert Exp $";
+static char rcsid[] = "$OpenBSD: interactive.c,v 1.18 2003/07/10 00:00:58 david Exp $";
#endif
#endif /* not lint */
@@ -53,6 +53,7 @@ static char rcsid[] = "$OpenBSD: interactive.c,v 1.17 2003/06/02 20:06:16 miller
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "restore.h"
#include "extern.h"
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 0202363634f..02e69aa93e4 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tunefs.c,v 1.22 2003/06/02 20:06:17 millert Exp $ */
+/* $OpenBSD: tunefs.c,v 1.23 2003/07/10 00:00:58 david Exp $ */
/* $NetBSD: tunefs.c,v 1.10 1995/03/18 15:01:31 cgd Exp $ */
/*
@@ -41,7 +41,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)tunefs.c 8.2 (Berkeley) 4/19/94";
#else
static const char rcsid[] =
- "$OpenBSD: tunefs.c,v 1.22 2003/06/02 20:06:17 millert Exp $";
+ "$OpenBSD: tunefs.c,v 1.23 2003/07/10 00:00:58 david Exp $";
#endif
#endif /* not lint */
@@ -60,6 +60,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <paths.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
/* the optimization warning string template */
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"