aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rasdaemon/ras-diskerror.patch
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-08-26 16:46:58 +0200
committerHenrik Riomar <henrik.riomar@gmail.com>2019-08-27 07:12:41 +0200
commit1cd48760357f310712c2b5dcac3eb6357b28b995 (patch)
treea0ee916c39976e58e8180d2b01b59474841d558d /testing/rasdaemon/ras-diskerror.patch
parent2250d0b13d8b3f485f9c92498c713245f7d04202 (diff)
downloadaports-1cd48760357f310712c2b5dcac3eb6357b28b995.tar.bz2
aports-1cd48760357f310712c2b5dcac3eb6357b28b995.tar.xz
testing/rasdaemon: upgrade to 0.6.3
Enable the new devlink & diskerror events
Diffstat (limited to 'testing/rasdaemon/ras-diskerror.patch')
-rw-r--r--testing/rasdaemon/ras-diskerror.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/rasdaemon/ras-diskerror.patch b/testing/rasdaemon/ras-diskerror.patch
new file mode 100644
index 0000000000..9924b15fc1
--- /dev/null
+++ b/testing/rasdaemon/ras-diskerror.patch
@@ -0,0 +1,12 @@
+--- a/ras-diskerror-handler.c
++++ b/ras-diskerror-handler.c
+@@ -18,6 +18,9 @@
+ #define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+ #include <string.h>
+ #include <errno.h>
+ #include <sys/sysmacros.h>