summaryrefslogtreecommitdiff
path: root/package/hdparm/patches/patch-sysfs_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
commit89551d9a7633d83d45fb22316153dee7cd898fbc (patch)
treefe55cf46df70e534a912831f3288bd9b2400835f /package/hdparm/patches/patch-sysfs_c
parent320e16528ea6a9eba54bac0161e2331093075647 (diff)
parent7051ba973da28f456659ced479c731a61a624a85 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/hdparm/patches/patch-sysfs_c')
-rw-r--r--package/hdparm/patches/patch-sysfs_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/hdparm/patches/patch-sysfs_c b/package/hdparm/patches/patch-sysfs_c
new file mode 100644
index 000000000..b3ffc3191
--- /dev/null
+++ b/package/hdparm/patches/patch-sysfs_c
@@ -0,0 +1,14 @@
+--- hdparm-9.43.orig/sysfs.c 2010-10-04 21:39:20.000000000 +0200
++++ hdparm-9.43/sysfs.c 2013-12-26 10:24:57.000000000 +0100
+@@ -11,9 +11,11 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <errno.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
++#include <sys/types.h>
+ #include <linux/types.h>
+
+ #include "hdparm.h"