summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-11-15 22:20:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-11-15 22:20:05 +0000
commitd77db38a99c37922b14991741a09951af3b0c621 (patch)
tree644b057604244c23082f5a592a93f036f54a930d /sbin/sysctl/sysctl.c
parentdc67839142fd08f2b381632ad5f6519757336005 (diff)
Include unistd.h as it is the standard location for getopt().
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c3
1 files changed, 2 insertions, 1 deletions
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>