aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos/newfs_msdos.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
commiteb2fc780273ffdf4b21d6135aa8ec3b986e9c688 (patch)
tree8432db3aff03ac5dd498b9654f0bae60fffa1eb4 /sbin/newfs_msdos/newfs_msdos.c
parentf35e82dfe3a9ae90b01a027514f854e3150774eb (diff)
downloadsrc-eb2fc780273ffdf4b21d6135aa8ec3b986e9c688.tar.gz
src-eb2fc780273ffdf4b21d6135aa8ec3b986e9c688.zip
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Notes
Notes: svn path=/head/; revision=66907
Diffstat (limited to 'sbin/newfs_msdos/newfs_msdos.c')
-rw-r--r--sbin/newfs_msdos/newfs_msdos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c
index d6648fcad44e..d0085f72323d 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 */