From: Yu Watanabe Date: Wed, 17 Jan 2018 09:25:42 +0000 (+0900) Subject: efivars: include errno.h when EFI support is disabled (#7900) X-Git-Tag: v237~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5caf49360b55b5a877cda05ea45f1c0047b81a7b;p=thirdparty%2Fsystemd.git efivars: include errno.h when EFI support is disabled (#7900) Fixes #7898. --- diff --git a/src/shared/efivars.h b/src/shared/efivars.h index 9a4880de7dd..5b5951321cf 100644 --- a/src/shared/efivars.h +++ b/src/shared/efivars.h @@ -20,6 +20,9 @@ along with systemd; If not, see . ***/ +#if ! ENABLE_EFI +#include +#endif #include #include #include