From feb67e6b07274f3efe1b17d724fd9a12a323c818 Mon Sep 17 00:00:00 2001 From: Richard Kunze Date: Sun, 16 Nov 2014 01:56:12 +0100 Subject: hdparm: fix compilation with musl Signed-off-by: Richard Kunze --- utils/hdparm/patches/001-fix-includes.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 utils/hdparm/patches/001-fix-includes.patch (limited to 'utils/hdparm/patches') diff --git a/utils/hdparm/patches/001-fix-includes.patch b/utils/hdparm/patches/001-fix-includes.patch new file mode 100644 index 000000000..44343fb39 --- /dev/null +++ b/utils/hdparm/patches/001-fix-includes.patch @@ -0,0 +1,20 @@ +--- a/hdparm.h ++++ b/hdparm.h +@@ -2,6 +2,7 @@ + + //#undef __KERNEL_STRICT_NAMES + #include ++#include + + #if !defined(__GNUC__) && !defined(__attribute__) + #define __attribute__(x) +--- a/sysfs.c ++++ b/sysfs.c +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.3