summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-11-09 15:54:55 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-11-09 15:54:55 +0000
commit938cca8cc8a2a22f3a8c02c1b034d373103d3017 (patch)
tree4a63f82cb0282c3681d0b9403f439f63de30d7ec
parent29a6582d962c4cc6b372c52f1f4da082e2bc3b88 (diff)
add missing header needed by getpagesize().
ok millert@
-rw-r--r--sbin/fsck_ffs/pass1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index e149dcf15ab..010054ca545 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass1.c,v 1.29 2008/11/06 18:01:44 deraadt Exp $ */
+/* $OpenBSD: pass1.c,v 1.30 2008/11/09 15:54:54 chl Exp $ */
/* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass1.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: pass1.c,v 1.29 2008/11/06 18:01:44 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: pass1.c,v 1.30 2008/11/09 15:54:54 chl Exp $";
#endif
#endif /* not lint */
@@ -47,6 +47,7 @@ static const char rcsid[] = "$OpenBSD: pass1.c,v 1.29 2008/11/06 18:01:44 deraad
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "fsck.h"
#include "extern.h"