summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-05 17:08:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-05 17:08:23 +0000
commit9434cfa0db42a1ad683a3485d2b5a75ad7c67be7 (patch)
tree80cce08dc699ae7e7413ee49f4bb757853e17ca3
parent4e6cffecfc689ff6f77028d9905baafeb97ba735 (diff)
Formerly fsck.h.~9~
-rw-r--r--bsdfsck/fsck.h6
1 files changed, 5 insertions, 1 deletions
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 */