summaryrefslogtreecommitdiff
path: root/usr.sbin
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 /usr.sbin
parentdc67839142fd08f2b381632ad5f6519757336005 (diff)
Include unistd.h as it is the standard location for getopt().
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/spamdb/spamdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/spamdb/spamdb.c b/usr.sbin/spamdb/spamdb.c
index 70e2b6ba4e9..b06ca256929 100644
--- a/usr.sbin/spamdb/spamdb.c
+++ b/usr.sbin/spamdb/spamdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamdb.c,v 1.27 2013/08/21 16:13:29 millert Exp $ */
+/* $OpenBSD: spamdb.c,v 1.28 2013/11/15 22:20:04 millert Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@ -30,6 +30,7 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
+#include <unistd.h>
#include "grey.h"