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 | c390c9609331cbb84aa1a677b8c7ee30f0c6d718 (patch) | |
tree | 17a60677b456f04740b65747df5a7ef75d1c1b07 /ufs-utils/stati.c | |
parent | e15080b2f764ea71562c4e01999e1fb69790bbf4 (diff) |
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); |