diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-24 14:00:36 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-24 14:00:36 +0000 |
commit | 62c721aac18bbd42722a2bcd34214a582bf6dd5d (patch) | |
tree | 9fe9721222ea351ccc7272b99c6eaf3f3ff968f9 /tools/e2fsprogs/patches | |
parent | 0dd88d0a3bfa912f914f98ca4ce7736c99786486 (diff) | |
download | master-187ad058-62c721aac18bbd42722a2bcd34214a582bf6dd5d.tar.gz master-187ad058-62c721aac18bbd42722a2bcd34214a582bf6dd5d.tar.bz2 master-187ad058-62c721aac18bbd42722a2bcd34214a582bf6dd5d.zip |
tools/e2fsprogs: fix freebsd compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24130 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/e2fsprogs/patches')
-rw-r--r-- | tools/e2fsprogs/patches/002-freebsd_fix.patch | 18 |
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 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 <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 |