mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
* undelfs.c: Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h
when possible.
This commit is contained in:
parent
d6d5688bed
commit
e9827066d1
@ -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().
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user