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.patch29
1 files changed, 0 insertions, 29 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
deleted file mode 100644
index d752eb0651..0000000000
--- a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 590c656838a9b3769a7a855fb1891bfa8d8878ad Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 23 Aug 2022 10:27:21 -0700
4Subject: [PATCH] Include time.h for time_t
5
6Fixes
7src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared
8| 41 | time_t last_updated,
9| | ^~~~~~
10
11Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14---
15 src/core/Statistics.hpp | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp
19index 54f32e9..eb80e1c 100644
20--- a/src/core/Statistics.hpp
21+++ b/src/core/Statistics.hpp
22@@ -21,6 +21,7 @@
23 #include <core/StatisticsCounters.hpp>
24
25 #include <cstdint>
26+#include <ctime>
27 #include <string>
28 #include <unordered_map>
29 #include <vector>