Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From f98b390a2d323f7f92fb0492b0943d201afe5b8f Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 23 Aug 2022 10:40:53 -0700 |
| 4 | Subject: [PATCH] config: Include sys/types.h for mode_t defintion |
| 5 | |
| 6 | Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | |
| 9 | --- |
| 10 | src/Config.hpp | 2 ++ |
| 11 | 1 file changed, 2 insertions(+) |
| 12 | |
| 13 | diff --git a/src/Config.hpp b/src/Config.hpp |
| 14 | index 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> |