diff options
Diffstat (limited to 'testing/nvme-cli/musl-fix.patch')
-rw-r--r-- | testing/nvme-cli/musl-fix.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/testing/nvme-cli/musl-fix.patch b/testing/nvme-cli/musl-fix.patch deleted file mode 100644 index 873233bfc84..00000000000 --- a/testing/nvme-cli/musl-fix.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 329df07e86c27308a3c3fee9054390bc0271e8b8 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Mon, 26 Dec 2016 23:12:58 +0100 -Subject: [PATCH] Include endian.h for byte/host order functions - -Fix the following error when building with musl libc: - -nvme.h:136:2: error: implicit declaration of function 'le16toh' -[-Werror=implicit-function-declaration] - le16toh((__force __u16)(x)) - ^ - -Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> ---- - nvme.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/nvme.h b/nvme.h -index 6623505..5481916 100644 ---- a/nvme.h -+++ b/nvme.h -@@ -16,6 +16,7 @@ - #define _NVME_H - - #include <stdbool.h> -+#include <endian.h> - #include "plugin.h" - - #define unlikely(x) x |