Merge pull request #25 from wigyori/master
[openwrt-github/.git] / tools / e2fsprogs / patches / 004-freebsd-compat.patch
1 --- a/lib/ext2fs/tdb.c
2 +++ b/lib/ext2fs/tdb.c
3 @@ -58,7 +58,9 @@ Last Changed Date: 2007-06-22 13:36:10 -
4  #include <utime.h>
5  #endif
6  #include <sys/stat.h>
7 +#ifndef __FreeBSD__
8  #include <sys/file.h>
9 +#endif
10  #include <fcntl.h>
11  
12  #ifdef HAVE_SYS_MMAN_H