Skip to content

Commit

Permalink
hdparm: enable compile with glibc 2.36
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Heitbaum committed Aug 2, 2022
1 parent c54c4d0 commit 1f04022
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/tools/hdparm/patches/hdparm-glibc-2.36.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/hdparm.c 2022-07-13 16:15:50.363620844 +0000
+++ b/hdparm.c 2022-07-13 16:15:55.453615920 +0000
@@ -25,7 +25,6 @@
#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>

0 comments on commit 1f04022

Please sign in to comment.