]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: Fix build with musl when using GCC 12 (#1145)
authorKhem Raj <raj.khem@gmail.com>
Thu, 25 Aug 2022 19:36:18 +0000 (12:36 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Aug 2022 19:36:18 +0000 (21:36 +0200)
src/Config.hpp
src/core/Statistics.hpp

index 33f66445e801c0631c907dc42669c6e5cae30461..0503512e97d2ee97ebde727dcf593ba326874c95 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <core/Sloppiness.hpp>
 
+#include <sys/types.h>
+
 #include <cstdint>
 #include <functional>
 #include <limits>
index 54f32e9c67e79ec4cedd8a25cf830dd481add906..eb80e1caed5bf799515880c4ca5f160d367e59b0 100644 (file)
@@ -21,6 +21,7 @@
 #include <core/StatisticsCounters.hpp>
 
 #include <cstdint>
+#include <ctime>
 #include <string>
 #include <unordered_map>
 #include <vector>