]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/hdparm-9.64-fix-glibc-headers.patch
hdparm: Fix build with glibc 2.36
[people/pmueller/ipfire-2.x.git] / src / patches / hdparm-9.64-fix-glibc-headers.patch
diff --git a/src/patches/hdparm-9.64-fix-glibc-headers.patch b/src/patches/hdparm-9.64-fix-glibc-headers.patch
new file mode 100644 (file)
index 0000000..7589c86
--- /dev/null
@@ -0,0 +1,11 @@
+--- hdparm-9.64/hdparm.c
++++ hdparm-9.64/hdparm.c
+@@ -24,9 +24,6 @@
+ #include <sys/mount.h>
+ #include <sys/mman.h>
+ #include <sys/user.h>
+-#include <linux/types.h>
+-#include <linux/fs.h>
+-#include <linux/major.h>
+ #include <endian.h>
+ #include <asm/byteorder.h>