openwrt/tools/e2fsprogs/patches/004-freebsd-compat.patch
Kevin Darbyshire-Bryant 819cf75c40 tools: e2fsprogs: bump to 1.43.1
Bump e2fsprogs to v1.43.1 & refresh patches

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-06-22 19:32:07 +02:00

13 lines
254 B
Diff

--- a/lib/ext2fs/tdb.c
+++ b/lib/ext2fs/tdb.c
@@ -58,7 +58,9 @@ Last Changed Date: 2007-06-22 13:36:10 -
#include <utime.h>
#endif
#include <sys/stat.h>
+#ifndef __FreeBSD__
#include <sys/file.h>
+#endif
#include <fcntl.h>
#ifdef HAVE_SYS_MMAN_H