Replace previous change by different test
[minix.git] / servers / mfs / mfsdir.h
blob3a3f3229583c1824985cabd3517a691a3b15e0e2
1 #ifndef _MFSDIR_H
2 #define _MFSDIR_H
4 #ifdef __NBSD_LIBC
5 #include <sys/cdefs.h>
6 #endif
7 #include <sys/types.h>
9 /* Maximum Minix MFS on-disk directory filename.
10 * MFS uses 'struct direct' to write and parse
11 * directory entries, so this can't be changed
12 * without breaking filesystems.
15 #define MFS_DIRSIZ 60
17 struct direct {
18 ino_t mfs_d_ino;
19 char mfs_d_name[MFS_DIRSIZ];
20 #ifdef __NBSD_LIBC
21 } __packed;
22 #else
24 #endif
26 #endif /* _MFSDIR_H */