diff options
Diffstat (limited to 'sbin/badsect/badsect.c')
| -rw-r--r-- | sbin/badsect/badsect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c index 197d85d5920..42a506848bd 100644 --- a/sbin/badsect/badsect.c +++ b/sbin/badsect/badsect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: badsect.c,v 1.24 2014/05/22 14:38:48 krw Exp $ */ +/* $OpenBSD: badsect.c,v 1.25 2015/01/16 06:39:56 deraadt Exp $ */ /* $NetBSD: badsect.c,v 1.10 1995/03/18 14:54:28 cgd Exp $ */ /* @@ -40,7 +40,7 @@ * this program can be used if the driver for the file system in question * does not support bad block forwarding. */ -#include <sys/param.h> +#include <sys/param.h> /* MAXFRAG MAXBSIZE DEV_BSIZE isclr */ #include <sys/stat.h> #include <ufs/ffs/fs.h> @@ -53,6 +53,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <limits.h> #include <err.h> static int chkuse(daddr_t, int); |
