summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 22:19:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 22:19:33 +0000
commitdd7d922541f8fb7e350d463629e67bcf503dc691 (patch)
tree5787a29e5c3109ae98844ec540dbf33b9e007826 /usr.sbin/amd
parent459eb1289c4e1b301b4a09bb668bf0fb3e896c05 (diff)
include unistd.h for getopt()
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/get_args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/amd/amd/get_args.c b/usr.sbin/amd/amd/get_args.c
index 2df447d92e8..9d18b4f5cd6 100644
--- a/usr.sbin/amd/amd/get_args.c
+++ b/usr.sbin/amd/amd/get_args.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)get_args.c 8.1 (Berkeley) 6/6/93
- * $Id: get_args.c,v 1.11 2009/08/12 13:21:17 deraadt Exp $
+ * $Id: get_args.c,v 1.12 2014/01/21 22:19:32 jsg Exp $
*/
/*
@@ -44,6 +44,7 @@
#include <syslog.h>
#endif /* HAS_SYSLOG */
#include <sys/stat.h>
+#include <unistd.h>
extern int optind;
extern char *optarg;