blob: 0fd77602df56f524cf45715ea8bfa342c5aff501 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From f98b390a2d323f7f92fb0492b0943d201afe5b8f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 23 Aug 2022 10:40:53 -0700
4Subject: [PATCH] config: Include sys/types.h for mode_t defintion
5
6Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8
9---
10 src/Config.hpp | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/src/Config.hpp b/src/Config.hpp
14index a9e08ec..9e7af40 100644
15--- a/src/Config.hpp
16+++ b/src/Config.hpp
17@@ -25,6 +25,8 @@
18
19 #include "third_party/nonstd/optional.hpp"
20
21+#include <sys/types.h>
22+
23 #include <cstdint>
24 #include <functional>
25 #include <limits>