Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 13 Jul 2017 18:29:52 -0700 |
| 4 | Subject: [PATCH] define loff_t if not already defined |
| 5 | |
| 6 | Helps to build with musl |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 10 | Upstream-Status: Pending |
| 11 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 12 | yaffs_guts.h | 4 ++++ |
| 13 | 1 file changed, 4 insertions(+) |
| 14 | |
| 15 | diff --git a/yaffs_guts.h b/yaffs_guts.h |
| 16 | index 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 | -- |
| 31 | 2.13.2 |
| 32 | |