Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame^] | 1 | From f939d3e07e1175caac5cf4cbf54bd8a58c2f198a Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Fri, 7 Aug 2020 15:30:52 +0000 |
| 4 | Subject: [PATCH] Fix field 'efi_loader_entry_one_shot_stat' has incomplete |
| 5 | type |
| 6 | |
| 7 | | In file included from ../../../../../../workspace/sources/systemd/src/login/logind-gperf.gperf:7: |
| 8 | | ../../../../../../workspace/sources/systemd/src/login/logind.h:131:21: error: field 'efi_loader_entry_one_shot_stat' has incomplete type |
| 9 | | 131 | struct stat efi_loader_entry_one_shot_stat; |
| 10 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 11 | |
| 12 | Upstream-Status: Inappropriate [musl specific] |
| 13 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 14 | --- |
| 15 | src/login/logind.h | 3 +++ |
| 16 | 1 file changed, 3 insertions(+) |
| 17 | |
| 18 | diff --git a/src/login/logind.h b/src/login/logind.h |
| 19 | index e64ecce8e2..2d4007d84b 100644 |
| 20 | --- a/src/login/logind.h |
| 21 | +++ b/src/login/logind.h |
| 22 | @@ -2,6 +2,9 @@ |
| 23 | #pragma once |
| 24 | |
| 25 | #include <stdbool.h> |
| 26 | +#include <sys/types.h> |
| 27 | +#include <sys/stat.h> |
| 28 | +#include <unistd.h> |
| 29 | |
| 30 | #include "sd-bus.h" |
| 31 | #include "sd-device.h" |