hdparm: Updated to latest version 9.47, removed obsolete patch.

Signed-off-by: Richard Kunze <richard.kunze@web.de>
This commit is contained in:
Richard Kunze
2015-06-15 21:52:08 +02:00
parent b6e1de2bdc
commit 791e912871
2 changed files with 2 additions and 22 deletions
@@ -1,20 +0,0 @@
--- a/hdparm.h
+++ b/hdparm.h
@@ -2,6 +2,7 @@
//#undef __KERNEL_STRICT_NAMES
#include <linux/types.h>
+#include <sys/types.h>
#if !defined(__GNUC__) && !defined(__attribute__)
#define __attribute__(x)
--- a/sysfs.c
+++ b/sysfs.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
+#include <limits.h>
#include <dirent.h>
#include <sys/stat.h>
#include <linux/types.h>