gentoo-ebuilds/sys-boot/refind/files/refind-0.14.2-fix-btrfs-on-musl.patch
Viorel Munteanu 53a213beea
sys-boot/refind: fix build on musl with USE=btrfs
Closes: https://bugs.gentoo.org/828953
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-11-18 19:18:06 +02:00

26 lines
808 B
Diff

https://bugs.gentoo.org/828953
From 88faaa7d7a9581d670cb581df933442cc75933b3 Mon Sep 17 00:00:00 2001
From: "David C. Manuelda" <StormByte@gmail.com>
Date: Thu, 14 Nov 2024 17:05:03 +0100
Subject: [PATCH] Added a missing header to make musl compile
---
filesystems/zstd/zstd_internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/filesystems/zstd/zstd_internal.h b/filesystems/zstd/zstd_internal.h
index f90ac42..4918300 100644
--- a/filesystems/zstd/zstd_internal.h
+++ b/filesystems/zstd/zstd_internal.h
@@ -20,6 +20,7 @@
/*-*******************************************************
* Compiler specifics
*********************************************************/
+#include <linux/stddef.h>
#define FORCE_INLINE static __always_inline
#define FORCE_NOINLINE static /*noinline*/
--
2.47.0