diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-17 10:25:42 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-01-17 10:25:42 +0100 |
commit | 5caf49360b55b5a877cda05ea45f1c0047b81a7b (patch) | |
tree | ff024eaeabb675e98252fbe321760a2433e67f64 /src/shared/efivars.h | |
parent | Merge pull request #7886 from gdamjan/fix-ptmx (diff) | |
download | systemd-5caf49360b55b5a877cda05ea45f1c0047b81a7b.tar.xz systemd-5caf49360b55b5a877cda05ea45f1c0047b81a7b.zip |
efivars: include errno.h when EFI support is disabled (#7900)
Fixes #7898.
Diffstat (limited to '')
-rw-r--r-- | src/shared/efivars.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/efivars.h b/src/shared/efivars.h index 9a4880de7d..5b5951321c 100644 --- a/src/shared/efivars.h +++ b/src/shared/efivars.h @@ -20,6 +20,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#if ! ENABLE_EFI +#include <errno.h> +#endif #include <stdbool.h> #include <stddef.h> #include <stdint.h> |