summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs-utils/mkfs.c3
-rw-r--r--ufs-utils/stati.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c
index e8513b70..1bfce2eb 100644
--- a/ufs-utils/mkfs.c
+++ b/ufs-utils/mkfs.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/
-static char *rcsid = "$Id: mkfs.c,v 1.18 1998/10/20 09:46:39 roland Exp $";
+static char *rcsid = "$Id: mkfs.c,v 1.19 2001/02/26 04:16:18 roland Exp $";
#endif /* not lint */
#include <unistd.h>
@@ -90,6 +90,7 @@ static char *rcsid = "$Id: mkfs.c,v 1.18 1998/10/20 09:46:39 roland Exp $";
#ifndef STANDALONE
#include <a.out.h>
#include <stdio.h>
+#include <time.h>
#endif
/*
diff --git a/ufs-utils/stati.c b/ufs-utils/stati.c
index 2c0147d0..ba545bf2 100644
--- a/ufs-utils/stati.c
+++ b/ufs-utils/stati.c
@@ -61,6 +61,7 @@ static char sccsid[] __attribute__ ((unused));
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <time.h>
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
@@ -94,7 +95,7 @@ mode_rep (unsigned short mode)
case S_IFIFO: *p++ = 'f'; break;
default: *p++ = '?';
}
-
+
add_perms (0, S_ISUID);
add_perms (3, S_ISGID);
add_perms (6, 0);