summaryrefslogtreecommitdiff
path: root/usr.bin/unvis
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.bin/unvis
parentdc67839142fd08f2b381632ad5f6519757336005 (diff)
Include unistd.h as it is the standard location for getopt().
Diffstat (limited to 'usr.bin/unvis')
-rw-r--r--usr.bin/unvis/unvis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/unvis/unvis.c b/usr.bin/unvis/unvis.c
index 0898c07a0fb..ad5a930cad0 100644
--- a/usr.bin/unvis/unvis.c
+++ b/usr.bin/unvis/unvis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unvis.c,v 1.9 2009/10/27 23:59:46 deraadt Exp $ */
+/* $OpenBSD: unvis.c,v 1.10 2013/11/15 22:20:04 millert Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -29,9 +29,10 @@
* SUCH DAMAGE.
*/
+#include <err.h>
#include <stdio.h>
#include <stdlib.h>
-#include <err.h>
+#include <unistd.h>
#include <vis.h>
void process(FILE *fp, const char *filename);