summaryrefslogtreecommitdiff
path: root/tools/e2fsprogs/patches
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-24 14:00:36 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-24 14:00:36 +0000
commit721a005dc252c69a797654e1902d029404dc1dd2 (patch)
tree0dd0536f9afa5fa2cd4eec047cd5102758bc1992 /tools/e2fsprogs/patches
parent8a5b26afd19ea61a2fc37f28907690d58fed2697 (diff)
downloadmtk-20170518-721a005dc252c69a797654e1902d029404dc1dd2.zip
mtk-20170518-721a005dc252c69a797654e1902d029404dc1dd2.tar.gz
mtk-20170518-721a005dc252c69a797654e1902d029404dc1dd2.tar.bz2
tools/e2fsprogs: fix freebsd compile issue
SVN-Revision: 24130
Diffstat (limited to 'tools/e2fsprogs/patches')
-rw-r--r--tools/e2fsprogs/patches/002-freebsd_fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/e2fsprogs/patches/002-freebsd_fix.patch b/tools/e2fsprogs/patches/002-freebsd_fix.patch
new file mode 100644
index 0000000..5065e05
--- /dev/null
+++ b/tools/e2fsprogs/patches/002-freebsd_fix.patch
@@ -0,0 +1,18 @@
+--- a/lib/ext2fs/tdb.c
++++ b/lib/ext2fs/tdb.c
+@@ -29,6 +29,7 @@ Last Changed Date: 2007-06-22 13:36:10 -
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <sys/file.h>
+ #ifdef CONFIG_STAND_ALONE
+ #define HAVE_MMAP
+ #define HAVE_STRDUP
+@@ -55,7 +56,6 @@ Last Changed Date: 2007-06-22 13:36:10 -
+ #include <utime.h>
+ #endif
+ #include <sys/stat.h>
+-#include <sys/file.h>
+ #include <fcntl.h>
+
+ #ifdef HAVE_SYS_MMAN_H