blkid: include time.h to provide explicit declaration for time()

This was originally reported to the MacPorts of e2fsprogs at:

	https://github.com/macports/macports-ports/pull/9137

Reported-by: Ryan Schmidt <ryandesign@macports.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2021-04-11 19:52:57 -04:00
parent 612358c193
commit 32fda1e5a3
2 changed files with 2 additions and 1 deletions

View File

@ -379,7 +379,7 @@ static struct e2fsck_problem problem_table[] = {
/* group descriptor N checksum is invalid, should be yyyy. */
{ PR_0_GDT_CSUM,
N_("@g descriptor %g checksum is %04x, should be %04y. "),
PROMPT_FIX, PR_LATCH_BG_CHECKSUM, 0, 0, 0 },
PROMPT_FIX, PR_PREEN_OK | PR_LATCH_BG_CHECKSUM, 0, 0, 0 },
/* group descriptor N marked uninitialized without feature set. */
{ PR_0_GDT_UNINIT,

View File

@ -17,6 +17,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>