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 | |
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')
-rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 4 | ||||
-rw-r--r-- | sbin/restore/dirs.c | 1 | ||||
-rw-r--r-- | sbin/restore/tape.c | 2 |
3 files changed, 6 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 */ diff --git a/sbin/restore/dirs.c b/sbin/restore/dirs.c index f30eacd..d7faa16 100644 --- a/sbin/restore/dirs.c +++ b/sbin/restore/dirs.c @@ -47,6 +47,7 @@ static const char rcsid[] = #include <sys/param.h> #include <sys/file.h> #include <sys/stat.h> +#include <sys/time.h> #include <ufs/ufs/dinode.h> #include <ufs/ufs/dir.h> diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 602ce61..dc187a5 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -48,6 +48,7 @@ static const char rcsid[] = #include <sys/file.h> #include <sys/mtio.h> #include <sys/stat.h> +#include <sys/time.h> #include <ufs/ufs/dinode.h> #include <protocols/dumprestore.h> @@ -57,6 +58,7 @@ static const char rcsid[] = #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include "restore.h" |