From 9434cfa0db42a1ad683a3485d2b5a75ad7c67be7 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 5 Oct 1994 17:08:23 +0000 Subject: Formerly fsck.h.~9~ --- bsdfsck/fsck.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bsdfsck/fsck.h b/bsdfsck/fsck.h index ea6da35a..4b95785b 100644 --- a/bsdfsck/fsck.h +++ b/bsdfsck/fsck.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)fsck.h 8.1 (Berkeley) 6/5/93 - * $Id: fsck.h,v 1.8 1994/09/16 14:56:55 mib Exp $ + * $Id: fsck.h,v 1.9 1994/10/05 17:08:23 mib Exp $ */ /* Begin GNU Hurd */ @@ -107,6 +107,10 @@ struct odirtemplate { ? (fs)->fs_bsize \ : (fragroundup(fs, blkoff(fs, (dip)->di_size)))) +/* Don't include dirent.h lest we get confused, but we still want this. */ +#define IFTODT(mode) (((mode) & 0170000) >> 12) +#define DT_DIR IFTODT (S_IFDIR) + /* missing macros */ /* Convert bytes to disk blocks */ -- cgit v1.2.3