--- hdparm-9.65/hdparm.c.orig	2022-09-06 19:02:56.000000000 +0200
+++ hdparm-9.65/hdparm.c	2023-01-05 15:33:04.487033604 +0100
@@ -24,11 +24,6 @@
 #include <sys/mount.h>
 #include <sys/mman.h>
 #include <sys/user.h>
-#include <linux/types.h>
-#ifndef FSCONFIG_SET_FLAG
-#include <linux/fs.h>
-#endif
-#include <linux/major.h>
 #include <endian.h>
 #include <asm/byteorder.h>
 
