17 lines
502 B
Diff
17 lines
502 B
Diff
Index: mtd-utils-1.4.5/mkfs.ubifs/mkfs.ubifs.h
|
|
===================================================================
|
|
--- mtd-utils-1.4.5.orig/mkfs.ubifs/mkfs.ubifs.h 2014-05-07 16:54:06.318103764 +0800
|
|
+++ mtd-utils-1.4.5/mkfs.ubifs/mkfs.ubifs.h 2014-05-07 16:55:33.351846587 +0800
|
|
@@ -36,6 +36,11 @@
|
|
#include <linux/types.h>
|
|
#ifdef __linux__
|
|
#include <linux/fs.h>
|
|
+
|
|
+#if defined(__UCLIBC__) && !defined(llseek)
|
|
+# define llseek lseek64
|
|
+#endif
|
|
+
|
|
#else
|
|
# ifndef O_LARGEFILE
|
|
# define O_LARGEFILE 0
|