* undelfs.c: Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h

when possible.
This commit is contained in:
Pavel Roskin 2003-11-28 06:20:57 +00:00
parent d6d5688bed
commit e9827066d1
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-11-28 Pavel Roskin <proski@gnu.org>
* undelfs.c: Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h
when possible.
2003-11-26 Pavel Roskin <proski@gnu.org>
* gc.c (vfs_ncs_getid): Merge with vfs_getid().

View File

@ -38,9 +38,15 @@
#include <stdio.h>
#include <stdlib.h>
/* asm/types.h defines its own umode_t :-( */
#ifdef HAVE_EXT2FS_EXT2_FS_H
#include <ext2fs/ext2_fs.h>
#else
/* asm/types.h defines its own umode_t */
#undef umode_t
#include <linux/ext2_fs.h>
#endif
#include <ext2fs/ext2fs.h>
#include <ctype.h>