hdparm: Fix build with glibc 2.36

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-08-15 17:17:46 +00:00
committed by Peter Müller
parent 03d57d8f1e
commit fac5f144bb
2 changed files with 12 additions and 0 deletions

View File

@@ -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>