summaryrefslogtreecommitdiff
path: root/sbin/restore
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/restore
parentdc67839142fd08f2b381632ad5f6519757336005 (diff)
Include unistd.h as it is the standard location for getopt().
Diffstat (limited to 'sbin/restore')
-rw-r--r--sbin/restore/main.c3
1 files changed, 2 insertions, 1 deletions
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"