summaryrefslogtreecommitdiff
path: root/package/hdparm/patches/patch-sysfs_c
blob: b3ffc319114a22be540f29d0cc9e833318eb90f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"