blob: 6cedc3cb4e0b332acc36de82ae2cb153a3e91de3 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 18:29:52 -0700
4Subject: [PATCH] define loff_t if not already defined
5
6Helps to build with musl
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
Patrick Williams520786c2023-06-25 16:20:36 -050010Upstream-Status: Pending
11
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012 yaffs_guts.h | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/yaffs_guts.h b/yaffs_guts.h
16index 6bcf12d..4af17ce 100644
17--- a/yaffs_guts.h
18+++ b/yaffs_guts.h
19@@ -18,6 +18,10 @@
20
21 #include "yportenv.h"
22
23+#ifndef loff_t
24+#define loff_t off_t
25+#endif
26+
27 #define YAFFS_OK 1
28 #define YAFFS_FAIL 0
29
30--
312.13.2
32