fundamental: Insert some missing conditional includes

IWYU can't insert these inside the correct condition itself so we
add these manually in a separate commit.
This commit is contained in:
Daan De Meyer
2025-05-01 14:02:17 +02:00
parent 776f8112dc
commit 194373f313
4 changed files with 14 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@
*/
#if SD_BOOT
# include "efi-string.h"
# include "util.h"
#else
# include <byteswap.h>
+1 -1
View File
@@ -3,7 +3,7 @@
#pragma once
#if SD_BOOT
# include "efi-string.h"
# include "efi.h"
#else
# include <uchar.h>
#endif
+6
View File
@@ -76,6 +76,12 @@ Still 100% public domain
modified for use with systemd
*/
#if SD_BOOT
# include "efi-string.h"
#else
# include <string.h>
#endif
#include "memory-util-fundamental.h"
#include "sha1-fundamental.h"
+6
View File
@@ -21,6 +21,12 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#if SD_BOOT
# include "efi-string.h"
#else
# include <string.h>
#endif
#include "assert-fundamental.h"
#include "macro-fundamental.h"
#include "memory-util-fundamental.h"