41 lines
980 B
Diff
41 lines
980 B
Diff
From 3ea1aa99242204e3c1841ac11d9f7064591d3bff Mon Sep 17 00:00:00 2001
|
|
From: Nathan Owens <ndowens@artixlinux.org>
|
|
Date: Sun, 15 Nov 2020 18:53:54 -0600
|
|
Subject: [PATCH] musl
|
|
|
|
---
|
|
src/btrfs/kernel-lib/rbtree.h | 4 ++++
|
|
src/main.c | 1 -
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git src/btrfs/kernel-lib/rbtree.h src/btrfs/kernel-lib/rbtree.h
|
|
index 6d68907..affab1d 100644
|
|
--- a/src/btrfs/kernel-lib/rbtree.h
|
|
+++ b/src/btrfs/kernel-lib/rbtree.h
|
|
@@ -38,6 +38,10 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+#ifndef __always_inline
|
|
+#define __always_inline inline__attribute__((always_inline))
|
|
+#endif
|
|
+
|
|
struct rb_node {
|
|
unsigned long __rb_parent_color;
|
|
struct rb_node *rb_right;
|
|
diff --git src/main.c src/main.c
|
|
index babcf0c..8a543f3 100644
|
|
--- a/src/main.c
|
|
+++ b/src/main.c
|
|
@@ -22,7 +22,6 @@
|
|
#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
-#include <mcheck.h>
|
|
#include <stdint.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
--
|
|
2.29.2
|
|
|