diff options
author | Roland McGrath <roland@gnu.org> | 2000-01-03 20:27:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-01-03 20:27:13 +0000 |
commit | 54c6afb460642e1069a9d3e9f9ebeb7cad2cd8ba (patch) | |
tree | dae83399cd39f60523e109aec019c77b16fd0481 /serverboot/file_io.h | |
parent | cc6409c5b2dd87efa2cdfbc5c2366ec14d2ae931 (diff) |
2000-01-03 Roland McGrath <roland@baalperazim.frob.com>
* file_io.h: Include "../ext2fs/ext2_fs.h" instead of "ext2_fs.h".
* ext2_file_io.c (search_directory): Use `struct ext2_dir_entry_2' in
place of `struct ext2_dir_entry', so as to grok newer dir formats.
* ext2_fs.h: File removed.
* Makefile (LCLHDRS): Remove it from the list.
* ffs_compat.c (EXT2_INODES_PER_BLOCK): New macro, no longer in
ext2_fs.h.
Diffstat (limited to 'serverboot/file_io.h')
-rw-r--r-- | serverboot/file_io.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/serverboot/file_io.h b/serverboot/file_io.h index 8a1a6e34..323e4e9a 100644 --- a/serverboot/file_io.h +++ b/serverboot/file_io.h @@ -34,11 +34,20 @@ #include <mach.h> #include <cthreads.h> +#include <stdint.h> #include <device/device_types.h> +/* Types used by the ext2 header files. */ +typedef u_int32_t __u32; +typedef int32_t __s32; +typedef u_int16_t __u16; +typedef int16_t __s16; +typedef u_int8_t __u8; +typedef int8_t __s8; + #include <defs.h> #include "minix_fs.h" -#include "ext2_fs.h" +#include "../ext2fs/ext2_fs.h" /* snarf stolen linux header from ext2fs */ #include "disk_inode.h" #define BSD_FFS 0 |