diff options
author | Roland McGrath <roland@gnu.org> | 2001-02-26 04:16:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-02-26 04:16:18 +0000 |
commit | 84fa419b6902ff32c8cfc9bc10af857856d1a519 (patch) | |
tree | 1bbe8edf192c286d5460a2a45e5265ac52b7be92 /ufs-utils/stati.c | |
parent | b40120e9d1b318cfb49631ad2b9fbd1615da8666 (diff) | |
download | hurd-84fa419b6902ff32c8cfc9bc10af857856d1a519.tar.gz hurd-84fa419b6902ff32c8cfc9bc10af857856d1a519.tar.bz2 hurd-84fa419b6902ff32c8cfc9bc10af857856d1a519.zip |
2001-02-25 Roland McGrath <roland@frob.com>
* mkfs.c [!STANDALONE]: Include <time.h> for decl.
* stati.c: Likewise.
Diffstat (limited to 'ufs-utils/stati.c')
-rw-r--r-- | ufs-utils/stati.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |