projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41090d
)
efivars: include errno.h when EFI support is disabled (#7900)
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 17 Jan 2018 09:25:42 +0000
(18:25 +0900)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 17 Jan 2018 09:25:42 +0000
(20:25 +1100)
Fixes #7898.
src/shared/efivars.h
patch
|
blob
|
history
diff --git
a/src/shared/efivars.h
b/src/shared/efivars.h
index
9a4880d
..
5b59513
100644
(file)
--- 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>