summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/lmccontrol/lmccontrol.c3
-rw-r--r--sbin/restore/main.c3
-rw-r--r--sbin/sysctl/sysctl.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sbin/lmccontrol/lmccontrol.c b/sbin/lmccontrol/lmccontrol.c
index 4bfc24a0850..d4c3facb400 100644
--- a/sbin/lmccontrol/lmccontrol.c
+++ b/sbin/lmccontrol/lmccontrol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lmccontrol.c,v 1.9 2006/12/06 05:56:03 jcs Exp $ */
+/* $OpenBSD: lmccontrol.c,v 1.10 2013/11/15 22:20:04 millert Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -44,6 +44,7 @@
#include <err.h>
#include <errno.h>
#include <string.h>
+#include <unistd.h>
#include <sys/param.h>
#include <sys/types.h>
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index f265ef8702f..f04083c6969 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.19 2009/10/27 23:59:34 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.20 2013/11/15 22:20:04 millert Exp $ */
/* $NetBSD: main.c,v 1.13 1997/07/01 05:37:51 lukem Exp $ */
/*
@@ -44,6 +44,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "restore.h"
#include "extern.h"
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 3170d56bdfc..894a61ff949 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.196 2013/11/12 19:42:47 deraadt Exp $ */
+/* $OpenBSD: sysctl.c,v 1.197 2013/11/15 22:20:04 millert Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -102,6 +102,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <unistd.h>
#include <machine/cpu.h>