aboutsummaryrefslogtreecommitdiffstats
path: root/tools/yaffs2/patches/110-openbsd-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yaffs2/patches/110-openbsd-compat.patch')
-rw-r--r--tools/yaffs2/patches/110-openbsd-compat.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/yaffs2/patches/110-openbsd-compat.patch b/tools/yaffs2/patches/110-openbsd-compat.patch
deleted file mode 100644
index cfafc1ca7e..0000000000
--- a/tools/yaffs2/patches/110-openbsd-compat.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nur yaffs2_android.orig/yaffs2/yaffs_guts.h yaffs2_android/yaffs2/yaffs_guts.h
---- yaffs2_android.orig/yaffs2/yaffs_guts.h Sun Feb 15 16:23:50 2009
-+++ yaffs2_android/yaffs2/yaffs_guts.h Tue Mar 5 15:45:21 2013
-@@ -823,6 +823,10 @@
- int yaffs_SetAttributes(yaffs_Object * obj, struct iattr *attr);
- int yaffs_GetAttributes(yaffs_Object * obj, struct iattr *attr);
-
-+#if defined(__OpenBSD__)
-+#define loff_t off_t
-+#endif
-+
- /* File operations */
- int yaffs_ReadDataFromFile(yaffs_Object * obj, __u8 * buffer, loff_t offset,
- int nBytes);