summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch')
-rw-r--r--meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch b/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
index 6c1d3cf4f9..d752eb0651 100644
--- a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
+++ b/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
@@ -1,4 +1,4 @@
1From 3d3364221c235c733436abaeeea9b5e6813b06ae Mon Sep 17 00:00:00 2001 1From 590c656838a9b3769a7a855fb1891bfa8d8878ad Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 23 Aug 2022 10:27:21 -0700 3Date: Tue, 23 Aug 2022 10:27:21 -0700
4Subject: [PATCH] Include time.h for time_t 4Subject: [PATCH] Include time.h for time_t
@@ -10,22 +10,20 @@ src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared
10 10
11Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145] 11Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145]
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
13--- 14---
14 src/core/Statistics.hpp | 1 + 15 src/core/Statistics.hpp | 1 +
15 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
16 17
17diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp 18diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp
18index 3e9ed816..0017f209 100644 19index 54f32e9..eb80e1c 100644
19--- a/src/core/Statistics.hpp 20--- a/src/core/Statistics.hpp
20+++ b/src/core/Statistics.hpp 21+++ b/src/core/Statistics.hpp
21@@ -20,6 +20,7 @@ 22@@ -21,6 +21,7 @@
22
23 #include <core/StatisticsCounters.hpp> 23 #include <core/StatisticsCounters.hpp>
24 24
25 #include <cstdint>
25+#include <ctime> 26+#include <ctime>
26 #include <string> 27 #include <string>
27 #include <unordered_map> 28 #include <unordered_map>
28 #include <vector> 29 #include <vector>
29--
302.37.2
31