[package] util-linux: update to 2.21.2
[openwrt/svn-archive/archive.git] / tools / e2fsprogs / patches / 002-freebsd_fix.patch
1 --- a/lib/ext2fs/tdb.c
2 +++ b/lib/ext2fs/tdb.c
3 @@ -29,6 +29,7 @@ Last Changed Date: 2007-06-22 13:36:10 -
4 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5 */
6
7 +#include <sys/file.h>
8 #ifdef CONFIG_STAND_ALONE
9 #define HAVE_MMAP
10 #define HAVE_STRDUP
11 @@ -55,7 +56,6 @@ Last Changed Date: 2007-06-22 13:36:10 -
12 #include <utime.h>
13 #endif
14 #include <sys/stat.h>
15 -#include <sys/file.h>
16 #include <fcntl.h>
17
18 #ifdef HAVE_SYS_MMAN_H