From: Ismael Luceno Date: Sun, 21 Jun 2020 14:06:14 +0000 (+0100) Subject: Libc implementations are allowed to require the explicit inclusion of X-Git-Tag: v9.1.3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c5745f95dec9552fc1946c16987246712ae0bc;p=thirdparty%2Fdhcpcd.git Libc implementations are allowed to require the explicit inclusion of either (where it should be defined) or (prototypes requiring it) to expose mode_t. Without that it fails to be exposed in musl libc, and potentially other implementations. Signed-off-by: Ismael Luceno --- diff --git a/src/common.h b/src/common.h index e79d7d7f..77efb7ae 100644 --- a/src/common.h +++ b/src/common.h @@ -31,6 +31,7 @@ #include #include +#include #include #include