]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Libc implementations are allowed to require the explicit inclusion of
authorIsmael Luceno <ismael@iodev.co.uk>
Sun, 21 Jun 2020 14:06:14 +0000 (15:06 +0100)
committerRoy Marples <roy@marples.name>
Sun, 21 Jun 2020 14:06:14 +0000 (15:06 +0100)
commitc1c5745f95dec9552fc1946c16987246712ae0bc
tree3d674ddb36bcd441f9c46e300ee982f576d084ac
parent50e8685ae6f470cb40cd7979e2242315e673d4b8
Libc implementations are allowed to require the explicit inclusion of
either <sys/types.h> (where it should be defined) or <sys/stat.h>
(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 <ismael@iodev.co.uk>
src/common.h