From 84fa419b6902ff32c8cfc9bc10af857856d1a519 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 26 Feb 2001 04:16:18 +0000 Subject: 2001-02-25 Roland McGrath * mkfs.c [!STANDALONE]: Include for decl. * stati.c: Likewise. --- ufs-utils/mkfs.c | 3 ++- ufs-utils/stati.c | 3 ++- 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 @@ -90,6 +90,7 @@ static char *rcsid = "$Id: mkfs.c,v 1.18 1998/10/20 09:46:39 roland Exp $"; #ifndef STANDALONE #include #include +#include #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 #include #include +#include #include #include #include @@ -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); -- cgit v1.2.3