mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 15:29:21 +02:00
tools/e2fsprogs: fix freebsd compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24130 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eb658d688e
commit
d6a6672190
18
tools/e2fsprogs/patches/002-freebsd_fix.patch
Normal file
18
tools/e2fsprogs/patches/002-freebsd_fix.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user