From 721a005dc252c69a797654e1902d029404dc1dd2 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Wed, 24 Nov 2010 14:00:36 +0000 Subject: [PATCH] tools/e2fsprogs: fix freebsd compile issue SVN-Revision: 24130 --- tools/e2fsprogs/patches/002-freebsd_fix.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/e2fsprogs/patches/002-freebsd_fix.patch diff --git a/tools/e2fsprogs/patches/002-freebsd_fix.patch b/tools/e2fsprogs/patches/002-freebsd_fix.patch new file mode 100644 index 0000000000..5065e05d1d --- /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 + #ifdef CONFIG_STAND_ALONE + #define HAVE_MMAP + #define HAVE_STRDUP +@@ -55,7 +56,6 @@ Last Changed Date: 2007-06-22 13:36:10 - + #include + #endif + #include +-#include + #include + + #ifdef HAVE_SYS_MMAN_H -- 2.30.2