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
commite34d53fc06cf7e40751a7a81e711860b34e65ef0 (patch)
tree885aa43d13d8f9ad32b8e9a85e68a8649c8ffa1e
parenta1630bac443f1804ccc3ad0b6e95f4fa7ad46ddf (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 */