25 lines
578 B
Diff
25 lines
578 B
Diff
Index: hdparm-9.54/geom.c
|
|
===================================================================
|
|
--- hdparm-9.54.orig/geom.c
|
|
+++ hdparm-9.54/geom.c
|
|
@@ -18,6 +18,7 @@
|
|
#include <sys/ioctl.h>
|
|
#include <linux/types.h>
|
|
#include <linux/fs.h>
|
|
+#include <sys/sysmacros.h>
|
|
|
|
#include "hdparm.h"
|
|
|
|
Index: hdparm-9.54/sysfs.c
|
|
===================================================================
|
|
--- hdparm-9.54.orig/sysfs.c
|
|
+++ hdparm-9.54/sysfs.c
|
|
@@ -16,6 +16,7 @@
|
|
#include <limits.h>
|
|
#include <sys/stat.h>
|
|
#include <linux/types.h>
|
|
+#include <sys/sysmacros.h>
|
|
|
|
#include "hdparm.h"
|
|
|