diff options
Diffstat (limited to 'poky/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch')
-rw-r--r-- | poky/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch b/poky/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch new file mode 100644 index 0000000000..d752eb0651 --- /dev/null +++ b/poky/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch @@ -0,0 +1,29 @@ +From 590c656838a9b3769a7a855fb1891bfa8d8878ad Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 23 Aug 2022 10:27:21 -0700 +Subject: [PATCH] Include time.h for time_t + +Fixes +src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared +| 41 | time_t last_updated, +| | ^~~~~~ + +Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145] +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +--- + src/core/Statistics.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp +index 54f32e9..eb80e1c 100644 +--- a/src/core/Statistics.hpp ++++ b/src/core/Statistics.hpp +@@ -21,6 +21,7 @@ + #include <core/StatisticsCounters.hpp> + + #include <cstdint> ++#include <ctime> + #include <string> + #include <unordered_map> + #include <vector> |