blob: 78660691d36177e11805a073a2020ea54b809ba4 [file] [log] [blame]
Andrew Geissler635e0e42020-08-21 15:58:33 -05001From f939d3e07e1175caac5cf4cbf54bd8a58c2f198a Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Fri, 7 Aug 2020 15:30:52 +0000
4Subject: [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
12Upstream-Status: Inappropriate [musl specific]
13Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
14---
15 src/login/logind.h | 3 +++
16 1 file changed, 3 insertions(+)
17
18diff --git a/src/login/logind.h b/src/login/logind.h
19index 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"