summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-04-04 04:17:07 +0000
committerbde <bde@FreeBSD.org>2004-04-04 04:17:07 +0000
commitc807fa08f512a4e2adcbd7b0e729fb3328337737 (patch)
tree0dd650e00d8c98ebea1a8e31597d87de0ad3236c /sbin/growfs
parent2727e5bef6affed28d6f26e757d61faf048c15a3 (diff)
downloadFreeBSD-src-c807fa08f512a4e2adcbd7b0e729fb3328337737.zip
FreeBSD-src-c807fa08f512a4e2adcbd7b0e729fb3328337737.tar.gz
Include <time.h> instead of depending on namespace pollution in <sys/stat.h>
for the declaration of time().
Diffstat (limited to 'sbin/growfs')
-rw-r--r--sbin/growfs/growfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index b3477e6..6f972fa 100644
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -67,6 +67,7 @@ static const char rcsid[] =
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
OpenPOWER on IntegriCloud