diff options
author | wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
commit | c5c43ce91fc476c67d622b0ca48e8e25ca653ff6 (patch) | |
tree | 6a86f0286158b145d4f10cd2c3b154f913998b9d /sbin/newfs_msdos | |
parent | 62118ce6963d049326bd94cead782dfd91c67b48 (diff) | |
download | FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.zip FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.tar.gz |
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Diffstat (limited to 'sbin/newfs_msdos')
-rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index d6648fc..d0085f7 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -31,10 +31,11 @@ static const char rcsid[] = #endif /* not lint */ #include <sys/param.h> -#include <sys/stat.h> #include <sys/diskslice.h> #include <sys/disklabel.h> #include <sys/mount.h> +#include <sys/stat.h> +#include <sys/time.h> #include <ctype.h> #include <err.h> @@ -44,6 +45,7 @@ static const char rcsid[] = #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #define MAXU16 0xffff /* maximum unsigned 16-bit quantity */ |