mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
18 lines
519 B
Diff
18 lines
519 B
Diff
Author: Void Linux Package
|
|
URL: https://github.com/void-linux/void-packages/tree/master/srcpkgs/partclone/patches
|
|
Summary: Fixes musl compatibility
|
|
----
|
|
--- a/src/btrfs/kernel-lib/rbtree.h
|
|
+++ b/src/btrfs/kernel-lib/rbtree.h
|
|
@@ -43,6 +43,10 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+#ifndef __always_inline
|
|
+#define __always_inline inline __attribute__((always_inline))
|
|
+#endif
|
|
+
|
|
#define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3))
|
|
|
|
#define rb_entry(ptr, type, member) container_of(ptr, type, member)
|