Files
openwrt_yocto/meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

35 lines
807 B
Diff

From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Tue, 5 Mar 2024 12:03:23 +0000
Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined
Fixed:
yaffs_guts.h:501:9: error: unknown type name 'YTIME_T'
501 | YTIME_T yst_uid;
Upstream-Status: Pending
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
yaffs_guts.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/yaffs_guts.h b/yaffs_guts.h
index 74ded0b..598271b 100644
--- a/yaffs_guts.h
+++ b/yaffs_guts.h
@@ -487,6 +487,10 @@ struct yaffs_obj {
YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1];
+#ifndef YTIME_T
+#define YTIME_T time_t
+#endif
+
#ifdef CONFIG_YAFFS_WINCE
//these are always 64 bits
u32 win_ctime[2];
--
2.35.5