hdparm/SOURCES/hdparm-9.54-sysmacros.patch
2021-09-09 18:18:19 +00:00

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"